Missing Microsoft Word 10.0 Object Library - Tool Reference Error

L

Li

This happens when anyone opens my file created Excel 2000 in Excel XP instead. The file creates a word doc from excel. How can I modify my code below to make it able to differentiate between Microsoft Word 9.0 Object Library and the 10.0 Object Library

Dim wrd As Word.Application
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Use Late Binding instead of Early Binding and then it is not necessary to
pre-set the references to the Object Library so that it will not matter
which one is available.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top