with or without the quotes I get the run time errorWhat description do you get for the error? (with the quotes)
I found this
vba - Is the MS-Access Navigation Pane visible? - Stack Overflow
if it's to do with the navigation pane, then it just can't be open in a run time - so maybe just use the fail1 to resume at the next test, or even the show ribbon process.
This is probably a time when you could have on error resume next until you get to the show ribbon. You may even get an error with the ribbon in the run time.
removing the Navigation code does not give an error on the sign on form
but when I go to the Menu, i get a run time error but I do not have the navigation on this form
I need to find what is causing the error on the next form which is my menu form
I get below compile error
msgbox "Fail1: Error " & err & " Desc: " & err.description"