Article ID: 153307 - Last Review: May 10, 2007 - Revision: 5.1 How to call Microsoft Excel macros that take parametersThis article was previously published under Q153307 On This PageSUMMARY Using Automation, you can manipulate Microsoft Excel. It is
possible to call macro procedures that are stored in Microsoft Excel Workbooks
by using the Run method of the Microsoft Excel Application object. Microsoft
Excel macro procedures that take parameters cause a slight change in the
syntax. Included below is a code sample showing how to call a Microsoft Excel
macro procedure from Visual Basic. MORE INFORMATIONStep-by-Step Example
REFERENCES For more information about using Visual Basic to Automate
Excel, see the following:
219151
(http://support.microsoft.com/kb/219151/EN-US/
)
How To Automate Microsoft Excel from Visual Basic
APPLIES TO
| Article Translations
|
Back to the top
