View Single Post
  #1  
Old June 16th 06, 08:32 PM posted to microsoft.public.outlook.program_forms
[email protected]
external usenet poster
 
Posts: 2
Default Open Form from Macro

Hi,

I've followed the MS KB article to Open Form from a Toolbar Button.

This is the Macro, as I have it in ThisOutlookSession:

Sub DisplayForm()
Set myFolder = Session.GetDefaultFolder(olFolderInbox)
Set myItem = myFolder.Items.Add("IPM.Note.SuppRequest")
myItem.Display
myItem.Recipient.Add ")
End Sub

The only difference from the KB Article is the Recipient.Add. However,
my problem is that I got it to work just as I left my Office, and as
soon as I got home never worked again.

Anyone got a clue?

Best Regards,

Alexandre Sousa

Ads