General information
Category:
COM/DCOM and OLE Automation
>How to I pass a parameter to an Excel macro?
>oExcel.Application.Run("MyWorkbook!MyMacro(" + cFileName + ")")
>
>The last line is failing.
>
Pass the parameter as a separate parameter to the Run method.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only