Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I am using Office 2003 and I create some macro in excel. In this macro I am using word application: Set oWRDapp = CreateObject("WORD.Application") Set oWRDdoc = oWRDapp.Documents oWRDdoc.Add DocumentType:=0 .... Excel automaticly add refernces to "Microsoft Word 11.0 Object Libary". But when I run this macro on computer where is install Office 2002 it dosnt work because macro looking for Office 11. So i have to manualy change references from Office10 to 10. Do you know how can I correct this. Its possible do this change by macro? Somethnig like: if install office 2002 then referneces = Office10 if install office 2003 then referneces = Office11 Thanks Tom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to convert all 3d references to normal references in a workboo | Excel Discussion (Misc queries) | |||
How to convert all 3d references to normal references in a workboo | Excel Worksheet Functions | |||
Help with converting a block of cells with Absolute and mixed references to relative references | Excel Worksheet Functions | |||
How to rename references from range names to cell references | Excel Discussion (Misc queries) | |||
Tools | References - information about references | Excel Programming |