I have computer with 2 version of ms office istalled (2003 and 2007).
If i use:
Code: Select all
oExcel := CreateObject( "Excel.Application")
How to force opening Excel 2003?
Has anybody got any idea how to do it?
Moderator: Rathinagiri
Code: Select all
oExcel := CreateObject( "Excel.Application")
Code: Select all
oExcel := CreateObject( "Excel.Application.10")
Code: Select all
oExcel := CreateObject( "Excel.Application.11")
Code: Select all
oExcel := CreateObject( "Excel.Application.12")
This will be very, very, very useful for memol wrote:I found solution!!!
I wanna put it to help somebody, which will try to work with multiple office versions on one computer.
You can read about it on MS pages:
http://support.microsoft.com/kb/292491
As you can reead on these pages, always latest installed application is running.
But, simply, you can call
Microsoft excel 2002 (XP)Microsoft excel 2003Code: Select all
oExcel := CreateObject( "Excel.Application.10")
Microsoft excel 2007Code: Select all
oExcel := CreateObject( "Excel.Application.11")
I will test it today on my second computer at home.Code: Select all
oExcel := CreateObject( "Excel.Application.12")
If something will be bad, I will write about it.
Best regards, Marek