Problem opening a mailmerged document

H

hugonsantos

I need to open a word document through visual basic 6 code. This
document is mailmerged.
When I open it in windows explorer with double click, I get the message
asking if I want to do the select and I chose yes.
The problem is when I try to open it with vb6 code:
Set oDoc = oWordApp.Documents.Open(file)
Winword show me the document only with the fields of one row, filled.
By this time, the mailmerge toolbar is disabled and I can't undertand
why.

Could you please explain me how to solve this?

Regards,
Hugo Santos
 

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