H
HeatherD25
I want to run a macro based on the version of access the person is using.
1) What is the statement do find out the version of access? What values
does it respond with?
In simplified terms I want to run a statement that says:
If Access 2003 Then
RunMacro2003
Else
Run Macro 2007
This is what I have:
DBversion = CurrentDb.Version
If DBversion > 12 Then
DoCmd.RunMacro Macro2007
Else
DoCmd.RunMacro Macro2003
End If
Help?
Thanks!!
1) What is the statement do find out the version of access? What values
does it respond with?
In simplified terms I want to run a statement that says:
If Access 2003 Then
RunMacro2003
Else
Run Macro 2007
This is what I have:
DBversion = CurrentDb.Version
If DBversion > 12 Then
DoCmd.RunMacro Macro2007
Else
DoCmd.RunMacro Macro2003
End If
Help?
Thanks!!