ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Identifying Excel version (https://www.excelbanter.com/excel-programming/297293-identifying-excel-version.html)

Neil[_14_]

Identifying Excel version
 
Is there a way through code to identify, which version of
excel is in use?

then to use it in the following way

if excel version 8 do something
if excel version 9 do something
if excel version 10 do something
if excel version 11 do something

Thx

Jeff Standen

Identifying Excel version
 
Application.Version

Easy when you know how :)

Jeff

"Neil" wrote in message
...
Is there a way through code to identify, which version of
excel is in use?

then to use it in the following way

if excel version 8 do something
if excel version 9 do something
if excel version 10 do something
if excel version 11 do something

Thx




Michel Pierron[_2_]

Identifying Excel version
 
Hi Neil;
Select Case Val(Application.Version)

MP

"Neil" a écrit dans le message de
...
Is there a way through code to identify, which version of
excel is in use?

then to use it in the following way

if excel version 8 do something
if excel version 9 do something
if excel version 10 do something
if excel version 11 do something

Thx





All times are GMT +1. The time now is 06:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com