![]() |
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,
I created a Macro in outlook 2003 by name "MacroTest" in Form Code for a button click i want to run that macro.... I am writing form code in VB script ... not vba ... code looks like this --------------------------- Dim colInsp Function Item_Open() Set colInsp = Application.Inspectors Call MacroTest End Function ----------------------- How to call a Macro from VB script code in outlook form Can any one Help plz.. |
Ads |
#2
|
|||
|
|||
![]()
In article ,
=?Utf-8?B?U2FuamVldiBrdW1hciBLb2RhdmFsbGE=?= wrote: How to call a Macro from VB script code in outlook form Can any one Help plz.. The Macro must be in the ThisOutlook module, and you just use a call statement in vbscript in the form code. Hollis D. Paul [MVP - Outlook] Mukilteo, WA USA |
#3
|
|||
|
|||
![]()
Like this:
Call Application.MacroTest -- 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 "Hollis D. Paul" wrote in message ... In article , =?Utf-8?B?U2FuamVldiBrdW1hciBLb2RhdmFsbGE=?= wrote: How to call a Macro from VB script code in outlook form Can any one Help plz.. The Macro must be in the ThisOutlook module, and you just use a call statement in vbscript in the form code. Hollis D. Paul [MVP - Outlook] Mukilteo, WA USA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create a re-running rule | JDR | Outlook - General Queries | 2 | February 15th 06 09:17 PM |
Running a macro | SuperSlueth | Outlook - Using Forms | 15 | February 7th 06 09:51 PM |
How do I link a macro to a CommandButton in a custom form, want us | Capone2377 | Outlook - Using Forms | 1 | February 5th 06 12:15 AM |
Macro to add an attachment | Bear | Outlook - Using Forms | 1 | February 3rd 06 04:57 AM |
an outlook2000 macro programming question..... | Alont | Outlook - General Queries | 0 | January 8th 06 03:14 AM |