PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
How can I run a macro from a custom button control
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
How can I run a macro from a custom button control
![]() |
How can I run a macro from a custom button control |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi Experts,
I need to run a macro from a button control in a custom form. I tried to call the macro from click script code event but it didn't work. What can I do? Thank you so much for your help. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Put the macro in the ThisOutlookSession module in VBA. You should then be able to call it as Application.MyMacro from your form code.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "AA" <AA@discussions.microsoft.com> wrote in message news:08CA07E7-2298-48C7-AE89-7CE8CC0C27CF@microsoft.com... > Hi Experts, > > I need to run a macro from a button control in a custom form. I tried to > call the macro from click script code event but it didn't work. What can I do? > > Thank you so much for your help. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

