Application.Build property (Excel)

Returns the Microsoft Excel build number. Read-only Long.



expression A variable that represents an Application object.


It's usually safer to test the Version property, unless you are sure that you need to know the build number.


This example tests the Build property.

If Application.Build > 2500 Then 
 ' build-dependent code here 
End If

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.