Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

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...
Avatar of Daniel Pineault
Daniel Pineault

ASKER CERTIFIED SOLUTION
Avatar of Mark Edwards
Mark Edwards
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial