Newbie - Add button to toolbar to run a custom form

A

Antony

Hi
We are moving from GroupWise to Outlook 2003. GroupWise has a 'Phone
Message' form (very popular), and I am trying to create the equivalent as an
Outlook custom form.

I have created this form, and it runs fine, but I would like to add a button
to a toolbar (or a new custom toolbar) to load the form so the user doesn't
have to go through the Choose Form process.

I am _very_ new to Outlook, but have lots of experience with VBA in Word and
Access.

Any help greatly appreciated.

Regards

Antony
 
S

Sue Mosher [MVP-Outlook]

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.

See http://www.outlookcode.com/d/launchform.htm for other ideas.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top