opening an existing word doc from an Excel VBA macro

S

steve hibbert

I am working on copying spreadsheet data to a word
document. i can get it to work if the document is already
open (Activedocument). However, I want to open the doc
from the Excel VBA. I get license problems. I have
registered a reference for Word version 10 - but i might
need to register another reference. does anyone have an
idea?
thanks - steve hibbert
 
T

Tom Ogilvy

Use late binding and you shouldn't have any problems with versions (if you
write your code to the earliest version you will use).
 

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