![]() |
Running Macro
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.. |
Running Macro
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 |
Running Macro
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 |
All times are GMT +1. The time now is 08:34 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com