senators40
Technical User
I know the function to determine the version of excel the user is using
It is =Info("Release") in the excel cells as a function.
How do I convert that into visual basic.
When I record macro and put the function into the cell I get the following
Sub Macro2()
ActiveCell.FormulaR1C1 = "=INFO(""release"")"
End Sub
What I would like to do is state if the user is using Excel 2002 (which is returns version 10) then do something - if the user is using Excel 2000 (which is version 9) then do something else
I would also like to put it in one step so I don't have to enter the function on the sheet and then state if activecell = 10 then etc. If that is not possible then also please let me know.
Any Help would be appreciated
Thanks,
Jeff
It is =Info("Release") in the excel cells as a function.
How do I convert that into visual basic.
When I record macro and put the function into the cell I get the following
Sub Macro2()
ActiveCell.FormulaR1C1 = "=INFO(""release"")"
End Sub
What I would like to do is state if the user is using Excel 2002 (which is returns version 10) then do something - if the user is using Excel 2000 (which is version 9) then do something else
I would also like to put it in one step so I don't have to enter the function on the sheet and then state if activecell = 10 then etc. If that is not possible then also please let me know.
Any Help would be appreciated
Thanks,
Jeff