I need my application to be able to read excel spreadsheets on a PC that has either excel 2000 (version9) or excel 2003 (Version11) installed on it.
In the ActiveX methods I'm using, the only difference between the 2 versions is the 'Workbooks' -> 'Open' method.
I can check the excel version number then select which version of the method to use, but it won't compile!
I can get xl2000 to work if I compile my exe on a machine that has excel 2000 on it.
I can get xl2003 to work if I compile my exe on a machine that has excel 2003 on it, but not both!!!
I've tried installing both versions of excel on my PC, that doesn't work because microsoft seems to have used the same ActiveX IDs for both versions of excel. Only the Excel 11 ActiveX controls are available to use in LabVIEW.
I can copy a working excel 2000 vi onto the machine with excel 2003 then it only breaks when I try to compile it.
What I think I need is a way to
get the LabVIEW 8.2 application builder to ignore the broken method/sub-vi. It should work when it's on a machine with the matching version of excel on it.
Is there a way to do this? It's driving me nuts!
Troy - CLD
"If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument