Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to bypass a password in code?

Status
Not open for further replies.

Voga

Technical User
Apr 30, 2003
28
US
Hi all.
I created a database on the network protected with a password. It is in my shared folder. My users log on this database through Excel front end. How and where in the string/path below (dbName) in the code of Excel GUI I can specify the password, so my users could bypass it while loging on and still not having a direct access from my shared folder to that database?

Dim MyDb As Database
Dim dbName As String

'here's a string/path
dbName = "\\MainComp\SharedDocs\UsersDb.mdb" '????????

'Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top