E
Ed
Like in a previous post by Matt, I too want to control Excel from Word.
Here's the problem: I program on a Word2003 machine.
'Microsoft Excel Object Library 11.0' is the reference I choose.
A few older computers at my disposal still use Word2002. On that 2002
computer, the library is '10.0'. When the VBA project is loaded, Library
11.0 is not recognized, and I get error messages, and the routine does not
load. (When I use a Word2007 computer, a switch is somehow made to load
Library 12.0, so going 'forward' works fine.)
Any thoughts? I know how to do late binding. Is that the only solution, or
is there a way to tell Word to use whatever Excel Object Library it can
find?
Ed (in Virginia)
Here's the problem: I program on a Word2003 machine.
'Microsoft Excel Object Library 11.0' is the reference I choose.
A few older computers at my disposal still use Word2002. On that 2002
computer, the library is '10.0'. When the VBA project is loaded, Library
11.0 is not recognized, and I get error messages, and the routine does not
load. (When I use a Word2007 computer, a switch is somehow made to load
Library 12.0, so going 'forward' works fine.)
Any thoughts? I know how to do late binding. Is that the only solution, or
is there a way to tell Word to use whatever Excel Object Library it can
find?
Ed (in Virginia)