Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Office 2000 - Office 2003
I am trying to write code that works on both in Excel 2000 and Excel 2003.
My problem is with the references. In 2000 the reference to the Outlook Library is: C:\Program Files\Microsoft Office\Office10\msoutl.olb In 2003 it is: C:\Program Files\Microsoft Office\Office11\msoutl.olb I would like to enter some code in the Open event of the workbook that checks the environment and adds the correct reference without producing an error. Any help or references would be appreciated. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Office 2000 - Office 2003
Hi, EA,
Assuming that your installations of Excel went to the default locations, could you use Application.Version, to determine which version you were running and run suitable code as appropriate? Cheers Pete "EA" wrote: I am trying to write code that works on both in Excel 2000 and Excel 2003. My problem is with the references. In 2000 the reference to the Outlook Library is: C:\Program Files\Microsoft Office\Office10\msoutl.olb In 2003 it is: C:\Program Files\Microsoft Office\Office11\msoutl.olb I would like to enter some code in the Open event of the workbook that checks the environment and adds the correct reference without producing an error. Any help or references would be appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I run setup Office 2003 for office 2000 installed? | Excel Worksheet Functions | |||
Office 2000/Office 2003 Excel not printing landscape vise versa | Setting up and Configuration of Excel | |||
comile error for sheet in office 2000 but not office 2003?? | Excel Programming | |||
HOW CAN I READ SPREADSHEETS CREATED BY OFFICE 2000 ON OFFICE 2003. | Excel Worksheet Functions | |||
Switch from Office 2000 to Office 2003 error | Excel Programming |