ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Run a Word macro from Excel? (https://www.excelbanter.com/excel-programming/431802-run-word-macro-excel.html)

Cerberus

Run a Word macro from Excel?
 
Is there a way to run a macro that is in Word from Excel VBA? I would guess
it would be something like;

varDoc.RunMacro (TDtest)?

The macro name in Word is TDtest if you are having issues deciphering my
lame attempt to write a code.

Thanks in advance for any help.

Cerberus

Run a Word macro from Excel?
 
Nevermind, I figured it out.

"Cerberus" wrote:

Is there a way to run a macro that is in Word from Excel VBA? I would guess
it would be something like;

varDoc.RunMacro (TDtest)?

The macro name in Word is TDtest if you are having issues deciphering my
lame attempt to write a code.

Thanks in advance for any help.



All times are GMT +1. The time now is 08:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com