![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
I am a newbie; I wrote the following code as VBA in Outlook: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) If (Not Item.Class = olMail) Then Exit Sub If (Item.Subject = "") Then answer = MsgBox("Do you want to send the message without entering a subject", vbYesNo, vbSystemModal) If (answer = vbNo) Then Cancel = True End If End If End Sub The code worked fine "till" I restarted outlook. It's weird that it's no longer working. Can anyone give me some ideas? I am not using Exchange Server. The code had been written for "ThisOutlookSession." Any help will be highly appreciated. /jaywalker |
#2
|
|||
|
|||
![]()
OK; I got it. VBA isn't loading. Setting the Macro security to Medium
prompted me whether I want to run macros or not. If I say Yes, everything works fine. , says... The code worked fine "till" I restarted outlook. It's weird that it's no longer working. Can anyone give me some ideas? I am not using Exchange Server. The code had been written for "ThisOutlookSession." Any help will be highly appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBScript events not firing on edit | Juls | Outlook - Using Forms | 2 | March 19th 07 05:15 AM |
Outlook Reminder Events - not firing | [email protected] | Add-ins for Outlook | 0 | August 3rd 06 11:56 PM |
AdvancedSearchComplete Even Not Firing | Dav Banks | Outlook and VBA | 8 | June 8th 06 10:18 PM |
Inspector Close events not firing.. | Sanjay | Add-ins for Outlook | 1 | May 22nd 06 07:18 PM |
How can I keep calendar events longer than 6 months? | John Pero | Outlook - Calandaring | 3 | March 24th 06 07:32 PM |