Solved

Coomand button not visible

Posted on 2014-04-29
5
130 Views
Last Modified: 2014-04-30
Folks,
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
0
Comment
Question by:Frank Freese
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 48

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40030691
In Workbook_Open put

GoToSelection. Visible = False  or

Sheets("Menu").GoToSelection. Visible = False
0
 

Author Comment

by:Frank Freese
ID: 40031963
Thanks - the first one did not work - variable not defined
The second one did
0
 

Author Closing Comment

by:Frank Freese
ID: 40031966
Thanks  - I appreciate it
0
 
LVL 48

Expert Comment

by:Martin Liss
ID: 40032409
You're welcome.
0
 

Author Comment

by:Frank Freese
ID: 40032578
Question on its way
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question