A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Open form from toolbar button



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Addinga button to Appointment Form Toolbar JRomeo Outlook - Using Forms 2 April 11th 08 10:57 PM
Add button to Outlook Toolbar to launch specific form Jim[_8_] Outlook - Using Forms 1 March 19th 08 07:46 PM
Button to open another folder form Skooter1121 Outlook - Using Forms 0 February 17th 08 01:54 PM
button on toolbar Pam Coleman Outlook - Using Forms 3 August 22nd 06 06:43 PM
Create button on toolbar for form BTH Outlook - Using Forms 1 May 11th 06 01:22 PM


All times are GMT +1. The time now is 09:02 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-2025 Outlook Banter.
The comments are property of their posters.