View Single Post
  #1  
Old August 13th 08, 01:45 PM posted to microsoft.public.outlook.program_forms
Kim
external usenet poster
 
Posts: 88
Default Open form from toolbar button

Hi
Followed advice on MS website and use this code:
To open a custom form with a message class IPM.Appointment.Test that is
published in the Personal Forms Library, or the Organizational Forms Library,
change the code to:
Sub DisplayForm()
Set myFolder = Session.GetDefaultFolder(olFolderCalendar)
Set myItem = myFolder.Items.Add("IPM.courses")
myItem.Display
End Sub
The form is published to the personal forms library. Attached this to a
toolbar button. When I click the button I get a default blank email message
form.
This code is descrinbed by MS as being for a personal forms library.
Where hav I gone wrong.
Thanks

Outlook 2003 on exchange server

Ads