![]() |
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
|
|||
|
|||
![]()
I've looked but cannot find anything, including in the help; I've been to
Tools-Macro-Security in Outlook; set the security level to low, still same problem. But I am more confused than this: I have create a small project; Project1 Project 1 Microsoft Office Outlook ThisOutlookSession Modules Module1 It looks like I"m in Module1. The first statement is: Public WithEvents outApp As Outlook.Application but when I try to compile it "WithEvents" is flagged and invalid outside a module. BUt I'm in module1. And, may be related, macros are not enabled. Ron |
#2
|
|||
|
|||
![]()
Only class modules, ThisOutlookSession (a special case of a class module)
and forms (class modules with UI) can have declarations of WithEvents. Code modules cannot. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "RON" wrote in message ... I've looked but cannot find anything, including in the help; I've been to Tools-Macro-Security in Outlook; set the security level to low, still same problem. But I am more confused than this: I have create a small project; Project1 Project 1 Microsoft Office Outlook ThisOutlookSession Modules Module1 It looks like I"m in Module1. The first statement is: Public WithEvents outApp As Outlook.Application but when I try to compile it "WithEvents" is flagged and invalid outside a module. BUt I'm in module1. And, may be related, macros are not enabled. Ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to enable active x for outlook 2003 | Ramkumar | Outlook - Installation | 0 | May 26th 06 10:58 PM |
macros in Outlook 2003 | steve | Outlook and VBA | 2 | May 25th 06 07:41 PM |
Domino Connector and XP Pro SP2 | Jason | Outlook - Installation | 4 | April 7th 06 02:00 PM |
Link Outlook 2003 to Project pro 2003 without the server | Microsoft | Outlook - General Queries | 2 | March 16th 06 05:28 AM |
enable macros | Joanne | Outlook and VBA | 3 | February 24th 06 06:44 PM |