ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   word reference (https://www.excelbanter.com/excel-programming/275754-word-reference.html)

GUS

word reference
 
I am using a macro in order to create a word document and paste some excel
data in it.

I have office xp
In order to make the code work without problems i made a reference to the
Microsoft word Object Library.
The question is simple
If i want to sell my program to others who hasn't office xp but office 2000
or office 97 the reference will still exists?
Does excel automatically finds the appropriate object libraries when it's
starts in other configurations?
And if not is there any code to search hard disk and add a reference to the
appropriate object library (in this case Microsoft word Object Library)?
Thanks






Tom Ogilvy

word reference
 
http://support.microsoft.com/default...b;EN-US;244167
INFO: Writing Automation Clients for Multiple Office Versions

http://support.microsoft.com/default...b;en-us;245115
INFO: Using Early Binding and Late Binding in Automation

http://support.microsoft.com/default...b;en-us;247579
INFO: Use DISPID Binding to Automate Office Applications Whenever Possible

Address some of the issues.

Regards,
Tom Ogilvy
GUS wrote in message
...
I am using a macro in order to create a word document and paste some excel
data in it.

I have office xp
In order to make the code work without problems i made a reference to the
Microsoft word Object Library.
The question is simple
If i want to sell my program to others who hasn't office xp but office

2000
or office 97 the reference will still exists?
Does excel automatically finds the appropriate object libraries when it's
starts in other configurations?
And if not is there any code to search hard disk and add a reference to

the
appropriate object library (in this case Microsoft word Object Library)?
Thanks









All times are GMT +1. The time now is 10:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com