Reference to a library
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
|