VB MailMerge with MDB with password

I have put a protection password in MDB database, from Visual Basic I launch a MailMerge by Word Automation, but Microsoft Access request me to insert by InputBox the password!!!

How is possible to communicate to Access by code the password so that Access no request it more by InputBox?


The code used is: MailMerge.OpenDataSource


many thanks, Antonio Garaguso


Comments

  • : I have put a protection password in MDB database, from Visual Basic I launch a MailMerge by Word Automation, but Microsoft Access request me to insert by InputBox the password!!!
    : How is possible to communicate to Access by code the password so that Access no request it more by InputBox?


    : The code used is: MailMerge.OpenDataSource


    : many thanks, Antonio Garaguso
    :
    :


  • : I have put a protection password in MDB database, from Visual Basic I launch a MailMerge by Word Automation, but Microsoft Access request me to insert by InputBox the password!!!
    : How is possible to communicate to Access by code the password so that Access no request it more by InputBox?


    : The code used is: MailMerge.OpenDataSource


    : many thanks, Antonio Garaguso
    :
    :

    I have the same problem and can't find solution - "PasswordDocument" doesn't help. Did you ever get the answer?
    Thanks
    Barry


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion