|
|
|||
| Outlook Form Design Printer Friendly Version | |||
|
|
Designing custom Outlook forms and form regions and writing code for them | ||
| Topic | |||
|
|
Call Macro from VbScript
Hello I am designing a custom outlook appointment form. I am a beginner with VBA and know nothing of Vb-script. In this form some one Will type an address into a form and on the property change event the form will querry a database and populate some tables. I have got the connection to the database as a macro and the property change event as Vbscript. I need the Vb script to call the macro. How is this done? Augustus 20-Nov-2009 13:58 |
||
|
|
Sue Mosher
21-Nov-2009 15:54
The macro needs to be a Public Sub in the ThisOutlookSession module. Once you've placed it there, you should be able to call it as Application.MyMacro. Note that this technique is unsupported. |
||
|
|
|||
