Find Excel Version



Dear Friends,

What Is Excel

Open any Office application, such as Word or Excel, and select Account. Note: If you don't see Account or you already have a file or document open, choose File from the menu, and then select either Account or Help from the list on the left. Under Product Information, you'll find your Office product name and, in some cases, the full version number. Open any Office application, such as Word or Excel, and select Account. Note: If you don't see Account or you already have a file or document open, choose File from the menu, and then select either Account or Help from the list on the left. Under Product Information, you'll find your Office product name and, in some cases, the full version number. In my installer, I checked the registry key (HKEYCLASSESROOT Excel.Application CurVer) to get version of Excel. It has worked since day 1. However, recently we find on one client's PC there is no such key and my installer fails. For older Excel versions (2007 and before), here are the steps you need to follow in order to find out your Excel version information: Click the Office button Select Excel Options from the bottom of the window that appears. This will open the Excel Options dialog box.

Excel

Usually while working on any of the VBA projects, it becomes important for me to first check the version of excel which user is using and based on that certain functionality of my tool may or may not work. For Example: If you have some sales data using more than 256 columns then if user is using Excel 2003, then it would not be possible as Excel 2003 has got only 256 columns. But if user is using any higher version like Excel 2007 etc. then it is possible to do so without any error as they have got 16000+ columns in it. This way before processing the data if you can identify the version of the excel user is using then you will be able to handle the error without crashing the excel.

Latest version of excel

As user I would always prefer a clear message stating that “this functionality is not available in so and so Excel version” rather than getting some weird Microsoft error message and messing up other functionalities as well. Neospeech with crack for windows 10.

It is a very simple piece of code which will determine which version of excel user is using. Whenever you call the bellow function at any moment of time when it is necessary to check the version of the excel.

Find

Important Note:

VBA.Val(Application.Version) returns a number. Each version of the excel can be determined by the following mapping of Version Number and name. Same mapping I have put in the above code:
Do not ask me why version number 13 is missing from the sequence 🙂

Version NumberVersion Name
8Excel 97
9Excel 2000
10Excel 2002
11Excel 2003
12Excel 2007
14Excel 2010
15Excel 2013
16Excel 2016

How to use this function?

Step 1. Copy the above code
Step 2. Create a publich module in your VBA project
Step 3. Paste this code there
Step 4. Now you are ready to call this function anywhere in your workbook
you can also call this function from you excel cell as a formula and it will return the version of the excel you are using currently.
Enjoy writing full proof VBA code without any unknown error related to excel version. Keep looking in this space for many more such small tips and tricks in VBA.

Find Excel Version

Timex wr30m indiglo manual. Have a nice weekend !!