Shortcut to form in folder

H

hlock

I've created a form called Budget Approval in a folder called Budgets in my
personal email. What is the best way to create a shortcut to this form and
folder?
Thanks!
 
S

Sue Mosher [MVP-Outlook]

The best approach to making this form easy to launch is a macro, not a shortcut. To create a new instance of a custom form programmatically, use the Add method on the target folder's Items collection:

Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")

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/article.aspx?id=56 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