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
Solved

Coomand button not visible

Posted on 2014-04-29
5
128 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
  • 3
  • 2
5 Comments
 
LVL 46

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 46

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

829 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