Application.SharePointVersion Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .SharePointVersion(bstrUrl)

expression A variable that returns an Application object.

Parameters

Name

Required/Optional

Data Type

Description

bstrUrl

Required

String

The URL of site to check.

Return Value

Long

Show: