PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Re: VBA Macro to Open Form
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Re: VBA Macro to Open Form
![]() |
Re: VBA Macro to Open Form |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
What you will need to call is the Application.CreateItemFromTemplate method.
That takes a file path and will open an OFT file. If you are using the macro from Outlook VBA that one line is all you need. You can display the form by adding a second line that calls the Display method on the item returned by CreateItemFromTemplate. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "LDMueller" <LDMueller@discussions.microsoft.com> wrote in message news:8C846C07-167F-4255-B5E7-20D448B905C4@microsoft.com... >I have an Outlook form which I can access from Outlook 2003 by going to > Tools, Forms, Choose Form. If I "Look In" User Templates in File System I > can see my form named Laptop. I'd like to create a macro in VBA code > which > will allow me to open this form. > > Can anyone help? > > Thanks in advance! > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

