Hello,
I am creating an Excel application in PB, dropping some data in it and eventually saving. I am not doing a SaveAs because I need to muck with the font settings of certain cells.
The application starts up (lole_excel.ConnectToNewObject("excel.application")) using the currently installed version of Excel. In my case it is Excel 2007.
My issue is that I need to know what the current version of Excel is on any given machine so I can set the extension of the file to be saved correctly. If I could force the ole application to open as Excel 97 - 2003, that would be fine. If not, since I do not know which version might open on a given machine, I need to find out which version is running.
Would anyone happen to know how to find out that information? I have search for quite a while but I cannot seem to locate any information on the subject and the PB object browser does not offer much in this situation. Also, if anyone knows where there is a list of Excel ole functions, that would be wonderful.
Muchas gracias,
LR
I am creating an Excel application in PB, dropping some data in it and eventually saving. I am not doing a SaveAs because I need to muck with the font settings of certain cells.
The application starts up (lole_excel.ConnectToNewObject("excel.application")) using the currently installed version of Excel. In my case it is Excel 2007.
My issue is that I need to know what the current version of Excel is on any given machine so I can set the extension of the file to be saved correctly. If I could force the ole application to open as Excel 97 - 2003, that would be fine. If not, since I do not know which version might open on a given machine, I need to find out which version is running.
Would anyone happen to know how to find out that information? I have search for quite a while but I cannot seem to locate any information on the subject and the PB object browser does not offer much in this situation. Also, if anyone knows where there is a list of Excel ole functions, that would be wonderful.
Muchas gracias,
LR