Thread: Reference.
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Harald Staff Harald Staff is offline
external usenet poster
 
Posts: 1,327
Default Reference.

Hi Tom

You are best off using "late binding" for this. Which usually means that you
replace all known hardcoded object types with simply "Object" and let
Windows and the registry do the detective work. See
http://erlandsendata.no/english/inde...baoleolebasics

HTH. Best wishes Harald

"Tom" skrev i melding
...
Hello,

how can I by macro add and remove thit refernces:

Microsoft Word X.0 Object Library
C:\Program Files\Microsoft Office\OfficeX\MSWORD.OLB

x - menas 10 or 11, thats the problem I need this reference switch by
version of Office

I hope somebady help me.

Thanks tom