
Using the Visual Basic equivalent operator or function is preferred for increased speed and flexibility in calculations. NOTE: The Microsoft Excel worksheet function and the Visual Basic equivalent operator or function are not always calculated the same way and may give different results, even when they have the same name. INDIRECT() No direct equivalent - use Range, The Visual Basic Equivalent column lists functions you can use that produce results the same as (or similar to) results that the functions return. The following table contains worksheet functions that are not available as methods of the Application object.
#Biorhythms worksheet from excel vba programming pdf mod
For example, click the Mod Operator topic. In the list of topics, click the topic for the function or operator. In the Visual Basic Editor, type the function or operator name in the Office Assistant, and then click Search. To locate the equivalent Visual Basic operator or function of a Microsoft Excel worksheet function that is not available as an Application object method, follow these steps: In the list of topics, click List of Worksheet Functions Available to Visual Basic. In the Visual Basic Editor, type worksheet functions in the Microsoft Office Assistant, and then click Search. To display a list of all the Microsoft Excel worksheet functions that are available as methods of the Application object in Visual Basic, follow these steps: NOTE: The following steps assume that you have installed the Visual Basic Help file.

A Visual Basic operator works faster than a Microsoft Excel function in a Visual Basic module.Įxcel Worksheet Functions Available as Methods in Visual Basic For example, the MOD worksheet function is not available as a method of the Application object because there is an equivalent Mod operator built in to Visual Basic. Most worksheet functions that are not available as methods of theĪpplication object have an equivalent Microsoft Visual Basic built-in operator or function.

Methods or Properties list for the Application object in the Visual Basic Object Browser. The worksheet functions that are available to Visual Basic procedures are in the Application object, and are listed in the You can write Visual Basic procedures that call Microsoft Excel worksheet functions. Object doesn't support this property or method
