Take a look at the Application.Version property for the version.
It certainly would be nice to have a Since tag within the documentation...
Or even an IDE/compiler feature which produced warnings if you use code
which isn't supported on the target platform/version.
--
Rob van Gelder -
http://www.vangelder.co.nz/excel
"Mark" wrote in message
...
Hi NG
I am writting a rather large program in Excel using VBA. Before my code
gets
too big, I want to deal with the back compatibility issues.
I am using WinXP an office XP Pro and my program works for this target
platform. But if i shift platfor e.g. WinXP with office XP then my code
breaks. This is frustrating to say the least.
When i look in the helpfiles i can not immediately see which version of
office this or that object/method/parameter works. Is there a way to see
it?
is there perhaps a small check i can use to see on which versions of
office
my VBA program will run?
I have a great amount of positive experiance with Java and one of the
things
i like about it is its excellent documentation. For each object in Java
one
can see the "SINCE" tag to see from which version of the virtual machine
the
object was included in the API. Does VBA have something similar?
Regards
Mark