ca1358
asked on
Get pass a password-Excel to Access
I this code in excel, How do I get pass the "password".
At this point, click the command button and it open Access and bypass the password and go directly to a form.
'opens access
Range("Q23").Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="Volume.mdb", _
TextToDisplay:="Volume.mdb "
Range("Q23").Select
Selection.Hyperlinks(1).Fo llow NewWindow:=False, AddHistory:=True
Set App = GetObject("\\Dtcnas-ilsp00 2\mandator y\Analysts - Working Files\Carol\Demo\Volume.md b;pwd=OPPs ;")
App.Application.DoCmd.RunM acro "Macro2CloseSwitchboard"
App.Application.DoCmd.open form "Form"
Any help would greatly be appreciated!
At this point, click the command button and it open Access and bypass the password and go directly to a form.
'opens access
Range("Q23").Select
ActiveSheet.Hyperlinks.Add
TextToDisplay:="Volume.mdb
Range("Q23").Select
Selection.Hyperlinks(1).Fo
Set App = GetObject("\\Dtcnas-ilsp00
App.Application.DoCmd.RunM
App.Application.DoCmd.open
Any help would greatly be appreciated!
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
listen
ASKER
still trying to figure this out!!
ASKER
Got this work, thank you all for your help!!