View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Gaetan Gaetan is offline
external usenet poster
 
Posts: 21
Default Microsoft Word Object Library in Excel

Hi everyone,

I need to run VBA codes in Excel that uses the Microsoft Word Object
Library. If the object lbrary is not loaded, the code won't work properly and
causes unfortunate problems. Because the code can be run on any given
machine, there's no way for me to know if the object library has been loaded
on that machine.

Is there a way, using VBA, to load this object library before the code runs,
or at least to know whether or not the library is loaded so that I can advise
the user if it's not?

Thanks for your help.