WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Assigning Hot Key to Form

 
   Home -> Office -> Program Forms RSS
Next:  Help with custom form  
Author Message
Riverboat

External


Since: Jul 16, 2008
Posts: 4



(Msg. 1) Posted: Wed Jul 16, 2008 10:46 am
Post subject: Assigning Hot Key to Form
Archived from groups: microsoft>public>outlook>program_forms (more info?)

I have created a form in Outlook 2003 SP3 that is stored in my Personal Forms
Library.

Is there any way that I can assign a hot key combination to open the form
from anywhere within Outlook to avoid the need to go through New > Chose Form
> Personal Forms Library and Select from the list of forms therein?

Many thanks all

Kind regards

Peter
Back to top
Login to vote
Sue Mosher [MVP-Outlook]

External


Since: Jun 18, 2004
Posts: 828



(Msg. 2) Posted: Wed Jul 16, 2008 11:15 am
Post subject: RE: Assigning Hot Key to Form [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you write a VBA macro to launch an instance of the form, you can add that
macro to the toolbar and then give it an Alt+ accelerator. 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")

If it's a message form, 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. To create an item in another person's
mailbox, use Namespace.GetSharedDefaultFolder to get the MAPIFolder
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/article.aspx?id=56 for other ideas.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Riverboat" wrote:

> I have created a form in Outlook 2003 SP3 that is stored in my Personal Forms
> Library.
>
> Is there any way that I can assign a hot key combination to open the form
> from anywhere within Outlook to avoid the need to go through New > Chose Form
> > Personal Forms Library and Select from the list of forms therein?
Back to top
Login to vote
Riverboat

External


Since: Jul 16, 2008
Posts: 4



(Msg. 3) Posted: Wed Jul 16, 2008 11:26 am
Post subject: RE: Assigning Hot Key to Form [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Many thanks Sue

Kind regards

Peter

"Sue Mosher [MVP-Outlook]" wrote:

> If you write a VBA macro to launch an instance of the form, you can add that
> macro to the toolbar and then give it an Alt+ accelerator. 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")
>
> If it's a message form, 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. To create an item in another person's
> mailbox, use Namespace.GetSharedDefaultFolder to get the MAPIFolder
> 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/article.aspx?id=56 for other ideas.
>
> --
> Sue Mosher, Outlook MVP
> Author of Microsoft Outlook Programming: Jumpstart
> for Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
>
> "Riverboat" wrote:
>
> > I have created a form in Outlook 2003 SP3 that is stored in my Personal Forms
> > Library.
> >
> > Is there any way that I can assign a hot key combination to open the form
> > from anywhere within Outlook to avoid the need to go through New > Chose Form
> > > Personal Forms Library and Select from the list of forms therein?
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Program Forms All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET