minou
minou

Reputation: 16573

Get version of Office being used

I have an Office add-in for Microsoft Word.

For providing support to users and also for debugging, it would be very helpful to know the precise version of Office being used by my users.

Does the Office.js API include a way to get the Office version being used? I did not see that in the API documentation.

Upvotes: 0

Views: 832

Answers (1)

Eugene Astafiev
Eugene Astafiev

Reputation: 49453

You can use Office.context.diagnostics.platform property to identify the host platform. And you also will be interested in the Office.context.diagnostics.version property which returns the version.

Read more about other alternative ways on the Neat ways to get environment (i.e. Office version) thread.

Upvotes: 2

Related Questions