Using the CurrentFolder property

D

dhstein

How would I code a command to get the current Outlook folder that has the
focus (or is open). Thanks for any help on this.
 
D

dhstein

Thanks Sue. That worked. Now one more question. Can I assign a macro to a
keyboard combination like CTRL + M ?
 
S

Sue Mosher [MVP]

No, but you can modify any toolbar in the main Outlook window to add a macro
and give it an Alt+ accelerator key by putting an ampersand & in front of
the character you want to use for the accelerator.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
Top