![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
Using VBA inWord, I'm trying to access an Outlook from that is located in the Organizational Forms Library. I'm reasonably Ok with VBA in Word. I'm able to create a new Outlook 2003 message item and work with it. Adding recipients, subject body etc. - but doing the same thing using a form is defeating me. Does any one have the code to open a form please? TIA Phil |
Ads |
#2
|
|||
|
|||
![]()
Use the ItemAdd() method of the Items collection of a folder of that form
type to do that. However, unless the form is already published (say Org. Forms Library) and you belong to that domain, the form will not open. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "PPL" wrote in message ... Hi, Using VBA inWord, I'm trying to access an Outlook from that is located in the Organizational Forms Library. I'm reasonably Ok with VBA in Word. I'm able to create a new Outlook 2003 message item and work with it. Adding recipients, subject body etc. - but doing the same thing using a form is defeating me. Does any one have the code to open a form please? TIA Phil |
#3
|
|||
|
|||
![]()
Thanks Ken,
The following works perfectly: Sub Open_An_Incident_Form() 'To Open a customized message form Titled "Incident" that has been published in the Organizational Forms Library Set myFolder = Session.GetDefaultFolder(olFolderInbox) Set myItem = myFolder.Items.Add("IPM.Note.Incident") myItem.Display End Sub Thanks again "Ken Slovak - [MVP - Outlook]" wrote in message ... Use the ItemAdd() method of the Items collection of a folder of that form type to do that. However, unless the form is already published (say Org. Forms Library) and you belong to that domain, the form will not open. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "PPL" wrote in message ... Hi, Using VBA inWord, I'm trying to access an Outlook from that is located in the Organizational Forms Library. I'm reasonably Ok with VBA in Word. I'm able to create a new Outlook 2003 message item and work with it. Adding recipients, subject body etc. - but doing the same thing using a form is defeating me. Does any one have the code to open a form please? TIA Phil |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
User cannot open custom Organizational Form | teenzbutler | Outlook - Using Forms | 16 | April 9th 08 06:41 PM |
Remove a Form from Organizational Forms Library | Jeff G | Outlook - Using Forms | 7 | November 7th 07 03:23 AM |
Shortcut to Organizational Form in the Menubar ?? | Trinadh Varma | Outlook - Using Forms | 1 | July 27th 07 11:46 AM |
organizational forms vs form regions | Nikolas | Outlook - Using Forms | 2 | November 20th 06 04:26 PM |
Can't publish new form to Organizational Forms Library | Andrew Vital | Outlook and VBA | 4 | January 20th 06 04:42 PM |