Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Keyboard shortcut to Show/Hide sheet tabs in Excel

Posted on 2012-08-24
3
Medium Priority
?
1,168 Views
Last Modified: 2012-09-15
Hello,

Is there a keyboard shortcut to Show/Hide sheet tabs in Excel (2010)?

It seems like there are keyboard shortcuts for almost every other similar setting but I have Googled a number of "Excel shortcuts" lists and have not found one anywhere. Also, I have never found a button or check box in the View menu  which means that keyboard shortcuts beginning with "Alt" is not an option either.  As a result, the only option is to take several steps:

1) File > 
2) Options > 
3) Advanced > 
4) scroll down to: Display options for this workbook > 
5) check box to Show sheet tabs
6) click "OK" to save changes

Unless there is is an existing keyboard shortcut that someone knows about, is there a VBA code which would do the trick?

Thanks
0
Comment
Question by:Steve_Brady
  • 2
3 Comments
 
LVL 39

Assisted Solution

by:nutsch
nutsch earned 2000 total points
ID: 38331528
alt o h h
alt o h u


Sorry, that's for hide / unhide sheets.

Thomas
0
 
LVL 39

Accepted Solution

by:
nutsch earned 2000 total points
ID: 38331541
You can put the following macro in your personal macro workbook and add a icon to it on the quick Access toolbar.

Sub ToggleDisplayTabs()
If ActiveWindow.DisplayWorkbookTabs Then ActiveWindow.DisplayWorkbookTabs = False Else ActiveWindow.DisplayWorkbookTabs = True
End Sub

Open in new window


Thomas
0
 

Author Closing Comment

by:Steve_Brady
ID: 38402471
Thanks
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

578 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