![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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" wrote in message ... 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 | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Run Macro when user saves | Flemming | Outlook - Using Forms | 7 | May 16th 06 01:55 PM |
allow me to run macro time initiated | hirosh | Outlook and VBA | 1 | April 1st 06 06:40 AM |
outlook macro doesn;t run - sub/function not defined | mudshark | Outlook and VBA | 1 | February 6th 06 10:04 PM |
Outlook 2000 - Button to run Macro then open Database | David C | Outlook and VBA | 1 | January 25th 06 03:44 PM |
Finding the control ID for the menu button that you want to disabl | Tim Bolton | Outlook and VBA | 1 | January 13th 06 06:35 AM |