More Outlook Resource Sites

Microsoft Developer Network (MSDN)

FAQs and other general resources

Login

login
password
Remember me

You will need to register and log in if you want to download the source code for the Microsoft Outlook Programming book. The forums and code sharing areas are open to both registered and non-registered visitors.

forum 09-Sep-2010 06:28

Looking for help with Outlook programming projects — VSTO, add-ins, VBA, custom Outlook forms, etc.? You′ve come to the right place!

NEW! >> Subscribe to this site via RSS. For more RSS options, see the complete list of feeds on our main news page.

 

    Page [ 1 ]  
 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?

  20-Nov-2009  13:58
  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.
    Page [ 1 ]  
Post a new message to this topic.



name        email