Application.WorksheetFunction property (Excel)

Returns the WorksheetFunction object. Read-only.

Syntax

expression.WorksheetFunction

expression A variable that represents an Application object.

Example

This example displays the result of applying the Min worksheet function to the range A1:A10.

Set myRange = Worksheets("Sheet1").Range("A1:C10") 
answer = Application.WorksheetFunction.Min(myRange) 
MsgBox answer

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.