Coomand button not visible

In my workbook on the first tab ("Menu") I have a command button called "GoToSelection". When I open the workbook I'd like to be able to change one of the properties Visible=False through VBA
Frank FreeseAsked:
Who is Participating?
Martin LissConnect With a Mentor Older than dirtCommented:
In Workbook_Open put

GoToSelection. Visible = False  or

Sheets("Menu").GoToSelection. Visible = False
Frank FreeseAuthor Commented:
Thanks - the first one did not work - variable not defined
The second one did
Frank FreeseAuthor Commented:
Thanks  - I appreciate it
Martin LissOlder than dirtCommented:
You're welcome.
Frank FreeseAuthor Commented:
Question on its way
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.