Application.SharePointVersion method (Excel)

Returns the version number of SharePoint Foundation instances running at the site for the specified URL.

Syntax

expression.SharePointVersion (bstrUrl)

expression A variable that returns an Application object.

Parameters

Name Required/Optional Data type Description
bstrUrl Required String The URL of the site to check.

Return value

Long

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.