Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a file that has a reference to the Microsoft Word 11.0 Library in VBA code and everytime I open my file, it says it can't find the library and I have to manually select it everytime. How can I change this? Thanks, Nicolas |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Word is one of those references that you can get away with not having to
create. Instead of the code you have try something like this Dim objWord as object Set objWord = CreateObject("word.application") objWord is now a word object that you can probably fit into youir code... -- HTH... Jim Thomlinson "Nicolas Roth" wrote: Hello, I have a file that has a reference to the Microsoft Word 11.0 Library in VBA code and everytime I open my file, it says it can't find the library and I have to manually select it everytime. How can I change this? Thanks, Nicolas |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Type Library Reference | Excel Programming | |||
VBA Reference Library ADO 2.7 | Excel Programming | |||
Add-ins and Reference library | Excel Programming | |||
Reference Library - Missing Library in a lower version. | Excel Programming | |||
Reference Library | Excel Programming |