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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top