Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2005

Tip: Looking for answers? Try searching our database.

template for different versions of Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony - 14 Oct 2005 13:10 GMT
I need to create template to work with Word 2000, XP and 2003. It uses
references to Excel Object library which is different for all different
versions of Office. Is it possible to create one template to serve all
different versions of Office or rather I need to create the additional
template which will check the version of office and then call template
suitable for particular version to avoid error resulting from missing
reference to Excel library ?

Thanks for advice.

Tony
Dr. Stephan Kassanke - 14 Oct 2005 13:45 GMT
> I need to create template to work with Word 2000, XP and 2003. It uses
> references to Excel Object library which is different for all
[quoted text clipped - 7 lines]
>
> Tony

Tony, you can stick to one template if you use late binding for referencing
excel.

Stephan
Jonathan West - 14 Oct 2005 13:58 GMT
Hi Tony,

if you create the template in the earliest version of Word that you support,
and set a reference in the VBA project to the equivalent version of Excel,
then the reference will still work when the template is used in later
versions of office.

Of course, you should thoroughly test the template in all versions you want
to support, to make sure that no changes of behavior between versions affect
the operation of the template

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org

>I need to create template to work with Word 2000, XP and 2003. It uses
> references to Excel Object library which is different for all different
[quoted text clipped - 7 lines]
>
> Tony

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.