#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Hiding Tabs

Does anyone know the easiest way to hide and unhide un-used tabs in an
Excel worksheet?

  #2   Report Post  
Posted to microsoft.public.excel.programming
GB GB is offline
external usenet poster
 
Posts: 230
Default Hiding Tabs

Without computer programming, you can simply select the sheet that you want
to hide, click on Format in the toolbar, Sheet, then Hide.

To Unhide a hidden sheet, from any sheet, go to Format-Sheet-Unhide and
you will be given a list of sheets to unhide, select the desired sheet and
unhide it.

Programmatically, there are two versions of hide, one that will allow you to
unhide it using the method above, the other to prevent unhiding it... Then
unhide would be setting the hidden property of the worksheet to visible.

Values for visible are -1, 0, and 2.
So
Sheet1.visible = -1 makes the sheet visible
Sheet1.Visible = 0 makes it simply hidden and be unhidden by the method above.
Sheet1.Visible = 2 makes it very hidden, where it can not be unhidden but by
the program (not the user) unhiding the sheet.

So take your pick, I think you asked for easiest, which was the first
answer. :)

"jdawg" wrote:

Does anyone know the easiest way to hide and unhide un-used tabs in an
Excel worksheet?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding tabs for just some sheets. Romileyrunner1 Excel Worksheet Functions 4 September 9th 09 03:03 PM
Hiding Tabs jordanpcpre Excel Discussion (Misc queries) 7 July 7th 08 09:08 PM
Hiding Rows & Tabs at the same time * Kenneth * Excel Discussion (Misc queries) 0 March 29th 06 08:02 PM
Hiding Tabs Nash Excel Programming 2 June 21st 05 06:20 PM
Hiding Tabs Greg B[_4_] Excel Programming 3 March 8th 05 02:08 PM


All times are GMT +1. The time now is 02:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"