Discover Microsoft Access Version

paulscherm

Registered User.
Local time
Today, 03:22
Joined
Aug 27, 2012
Messages
16
I have a database designed in Access 2003. I plan to distribute it to others with Access 2010 or 2007. Want to run code to hide navigation pane and ribbon (have that already). What I need is vba code that can determine what version when database is opened so I can run the hide ribbon and nav pane code. ie: If version is 2007 or 2010 then...

Any help would be appreciated. Have a wonderful Labor Day.
 
Check out the Version property of the Application object. . .
Code:
Sub Test1894691348
   MsgBox Version
End Sub
 
Thanks, that works...:cool:
 
note that STRICTLY, version is a string, not a number.

so eg, A2003 is version "11"
 

Users who are viewing this thread

Back
Top Bottom