SteveL13
asked on
VBA code to open the navigation pane
I'm trying to figure out how to open the navigation pane via VBA code after a password has been entered. Here is what I have so far...
Dim strName As String
strName = InputBox("Please enter the database password.", "VBA InputBox Function")
If strName = Empty Then Exit Sub
If strName <> DLookup("[DBpassword]", "tblDBPassword") Then
MsgBox "You do not have access to this function"
Exit Sub
End If
'Code here to open the navigation pane...
Dim strName As String
strName = InputBox("Please enter the database password.", "VBA InputBox Function")
If strName = Empty Then Exit Sub
If strName <> DLookup("[DBpassword]", "tblDBPassword") Then
MsgBox "You do not have access to this function"
Exit Sub
End If
'Code here to open the navigation pane...
See: https://www.devhut.net/201 1/05/25/ms -access-vb a-hide-nav -pane/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.