View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Anthony[_6_] Anthony[_6_] is offline
external usenet poster
 
Posts: 18
Default Run code based on version

I am aware of the application.version function and I can also use the
conditional compile using the #if #else #endif statements.

What I need to do though is determine the version at run time and then run
different code depending. The conditional code needs a const which I cant
set at run time.

The various code is used to close of certain functionality of the workbook
etc... and this varies between versions.

Thanks in advance


Anthony