XL2002: Using a Worksheet Function in a Visual Basic Macro (291309)
The information in this article applies to:
This article was previously published under Q291309 For a Microsoft Excel 2000 version of this article, see 213765.
For a Microsoft Excel 98 and earlier version of this article, see 161120.
SUMMARY
You can call most built-in Microsoft Excel worksheet functions directly from a Microsoft Visual Basic for Applications macro. This article describes how to use a built-in worksheet function in a macro.
REFERENCESFor additional information about the worksheet functions that are notsupported with the Application or WorksheetFunction objects, click the article number below
to view the article in the Microsoft Knowledge Base:
213660 XL: Not All Worksheet Functions Supported As Methods of Application Object
For more information about a complete list of the worksheet functions that you can call with the Application object, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type list of worksheet functions available to visual basic in the Office Assistant or the Answer Wizard, and then click Search to view the topic. For more information about using Microsoft Excel Worksheet functions in Visual Basic, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type using Microsoft Excel worksheet functions in visual basic in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB291309 |
---|
|