Print Mailmerge - Access Password Protected

D

Daniele Pinai

Hi,
I use VB6 for mailmerge a Word2000 document connect with access2000 database.
My customer throw my program set a access database password.
I'd like to do a word's print from my program without change
doc's files.
I'd tried with this code....

x = WrdApp.Application.Documents.Open( myDocument )
!!!!!!! Here Word Ask me database's Password
With WrdApp.ActiveDocument.MailMerge
.DataSource.ConnectString = (IMPOSSIBLE Is ReadOnly)
.Destination = wdSendToPrinter
.Execute
End With

Can i solve this problem without change word's document ??
Sorry for my bad english !!!!!

Thank's
Daniele Pinai (Italy)
 

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