HOWTO: Call Microsoft Excel Macros that Take ParametersLast reviewed: September 30, 1997Article ID: Q153307 |
The information in this article applies to:
SUMMARYUsing OLE 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 INFORMATION
Step-by-Step Example
REFERENCESFor more information about using GetObject, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q114347 TITLE : OLE Automation Objects with GetObject and CreateObject Keywords : VB4ALL VB4WIN vbwin GnrlVb kbprg Technology : kbvba Version : WINDOWS:4.0 Platform : NT WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |