open a form

  • Thread starter Thread starter Nick
  • Start date Start date
To create a new instance of a custom form programmatically, use the Add
method on the target folder's Items collection. If it's a message form, you
can use the Drafts folder as the target. If the target is a default folder,
you can use the Namespace.GetDefaultFolder method to return it as a
MAPIFolder object. Otherwise, you can use the code at
http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy
and return the MAPIFolder corresponding to a given path string.
 
Sue
I have created a custom outlook form and it is stored in
the personal forms library, However I would like to create
a button/macro that when you "click" on an icon on the
tool bar it automatically opens a form. Can this be done?
 
Back
Top