Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / April 2008

Tip: Looking for answers? Try searching our database.

Shortcut to form in folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hlock - 18 Apr 2008 19:14 GMT
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!
Sue Mosher [MVP-Outlook] - 18 Apr 2008 19:31 GMT
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.

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> 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!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.