Setting VB to only execute on Compose Pane

G

Gil Milone

I have some vbscript that I would like to run only when the form is composed
not when it's in readmode. Is there a way to do this? IE
If Item.Compose Then
{
Do VBScript
}
 
S

Sue Mosher [MVP-Outlook]

Check the Size or EntryID of the item. Size = 0 and EntryID = "" for newly created items.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Gil Milone

Thanks Susan, worked like a charm!

Sue Mosher said:
Check the Size or EntryID of the item. Size = 0 and EntryID = "" for newly created items.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Top