troubleshooting Question

Invoke VBA from lotusscript after mailmerge

Avatar of Steve-Johnson
Steve-JohnsonFlag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft DevelopmentLotus IBMMicrosoft Office
11 Comments1 Solution412 ViewsLast Modified:
I invoke MS Excel and MS Word 2013 from IBM Notes R9 to perform a mail merge to PDF.  After the merge (and before creating the PDF) I need to run a macro on the merged data.  I have the macro working.  My problem is I cannot invoke it via lotusscript.  It is in the Word Merge Template and also in Normal.dotm.

I get errors like
Instance member SHADE does not exist
Instance member MODULE1 does not exist
Microsoft Word: 'Run' is not a property.
depending on how I attempt to invoke it.
If I invoke manually it works fine.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros