VBA Version Question

kc270

New Member
Joined
Apr 19, 2017
Messages
4
I am running Excel 2013 32 bit (version 15.0.4815.1002 on Windows 7 Professional 64 bit.

Several of our Excel files have VBA code in them to generate reports. These documents have existed for several years, and as the company switched to new versions of Excel, the Excel files were saved in the new versions.

My knowledge of Excel is limited. How do I determine which level or version of VBA is in these Excel files. Sorry for the basic question, but I could not find this information in the Excel file itself. I right clicked on the modules and selected "Project Properties", but nothing as far as VBA version was listed.

Any ideas on this would be appreciated - thanks.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
You can get the version number from the Application object...

MsgBox Application.Version

If it should ever matter to you, you can also get the Build number for that version as well...

MsgBox Application.Build
 
Upvote 0
Never mind, I figured it out, I was doing this

MsgBox Application.Version




But needed to enter it as this

Sub Version()

MsgBox Application.Version

End Sub

Thanks very much for the help.

Application Version returned 15.0. Does that mean this is VBA 15.0? The Build number returned was 4815.
 
Upvote 0
Is the VBA version tied to the Excel document version? So if a document began as Excel 2010, but was saved as Excel 2013, the VBA version is now Excel 2013. Would that be VBA 6?
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,666
Members
448,977
Latest member
moonlight6

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top