A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Dan,
Excel 2016 rely on VBA v.7.1. You can check it by opening Help/About menu in Excel Visual Basic.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Got to love Google. I tried this same question and got hundreds of responses on how to use VBA to find the version of Excel I am using.
I am trying to use some code written in 2002 which says #IF VBA6 ... and the else is for if you are using an earlier version. I am hoping the whatever version of VBA I have is backwards compatible to VBA6.
I was able to find that VBA7 was associated with Excel 2010.
I can comment out the code, but I'd still like to know how to find out what version of VBA I am using.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Hi Dan,
Excel 2016 rely on VBA v.7.1. You can check it by opening Help/About menu in Excel Visual Basic.
See https://msdn.microsoft.com/en-us/vba/language-r....
The constant for Office 2016 is Vba7.
Have you seen this post:
http://www.vbaexpress.com/forum/showthread.php?...
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.