I need a macro that will let me use the quick print function x number of times and x being the value found is cell A39


For example this is what is working in Excel 2007
ActiveWindow.SelectedSheets.PrintOut Copies:=Sheets("Auto Tag").Range("A39").Value


And I assume this is the what would work in Excel 2010
ActiveWindow.SelectedSheets.PrintOut Copies: :=Sheets("Auto Tag").Range("A39").Value, Collate:=True, _
IgnorePrintAreas:=False


I am looking for something that will work for either version and have thought of using an IF THEN ELSE statement like this

IF excel is version 07 THEN PrintMacroA ELSE PrintMacroB


I know hot to use IF THEN ELSE but done have any idea how test for the version of excel
also I am open to anyway of doing this that might be better


Thanks in advance for any help and for all the help I always get here.