G
Günter Brandstätter
Hi all,
I have a mailmerge document, which opens a password-protected Access
database. How can I "automate" the password, so that I don't need to type it
every time?
I tried the code
objDoc.MailMerge.OpenDataSource Name:="Name of Database", ReadOnly:=True,
LinkToSource:=True, Revert:=False, Connection:="QUERY not yet printed",
AddToRecentFiles:=False, PasswordDocument:="Password",
PasswordTemplate:="Password"
but it does not work.
Any answer appreciated
Günter
I have a mailmerge document, which opens a password-protected Access
database. How can I "automate" the password, so that I don't need to type it
every time?
I tried the code
objDoc.MailMerge.OpenDataSource Name:="Name of Database", ReadOnly:=True,
LinkToSource:=True, Revert:=False, Connection:="QUERY not yet printed",
AddToRecentFiles:=False, PasswordDocument:="Password",
PasswordTemplate:="Password"
but it does not work.
Any answer appreciated
Günter