![]() |
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 |
Open form from toolbar button
Sorted - I added "Appointment" in the message class
LIKE THE INSTRUCTIONS TOLD ME. doh!!! "kim" wrote: 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 |
All times are GMT +1. The time now is 09:00 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com