-
Jan 29th, 2019, 06:38 PM
#1
Thread Starter
Addicted Member
Need to invoke sub in VBAProject.OTM from VBScript
I have a custom Outlook form that needs to pull data from my Outlook database generally to populate itself and, launch additional forms, depending on the data that comes back. I've written the subroutines that do all the work in VBA and those now reside in the Outlook Macro file (VBAProject.OTM). I want to be able to invoke the triggering code from within the custom form by clicking on a Command Button on the form. It is my understanding that the only place in which I can write my event handler for the Command Button is in the VB Scripting window available through the "View Code" menu item when in Form Design Mode in Outlook's Developer tab.
I need the syntax for calling subroutines or functions in the VBAProject.OTM from the form's VBScript window.
I appreciate the guidance.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|