Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Toggle Headings for All Worksheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rebecca - 30 Mar 2008 10:22 GMT
I am using MS Excel 2007. I have a workbook with many worksheets. Sometimes I
need to see the headings, sometimes not. Is it possible to turn on or off the
headings for ALL the worksheets simultaneously. Thanks.
Rebecca - 30 Mar 2008 10:25 GMT
Never mind. If I select all sheets by right-clicking on the tabs, then
checking or unchecking headings in Show/Hide, the headings are toggled, so
the problem is solved.

Just curious. Is there another way.

> I am using MS Excel 2007. I have a workbook with many worksheets. Sometimes I
> need to see the headings, sometimes not. Is it possible to turn on or off the
> headings for ALL the worksheets simultaneously. Thanks.
Dave - 30 Mar 2008 14:46 GMT
Hi Rebecca,
You could paste the following macro into your sheet and give it a
keyboard shortcut or a button. It turns headings of all sheets off if
they're on, and vice versa.

Sub DisplayHeadings()
A = ActiveSheet.Name
Sheets.Select
If ActiveWindow.DisplayHeadings = False Then _
   ActiveWindow.DisplayHeadings = True Else _
   ActiveWindow.DisplayHeadings = False
Sheets(A).Select
End Sub

Regards - Dave.
Rebecca - 30 Mar 2008 17:12 GMT
That sounds good. Thanks for the help, Dave.

> Hi Rebecca,
> You could paste the following macro into your sheet and give it a
[quoted text clipped - 11 lines]
>
> Regards - Dave.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.