Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Hide and show a group of worksheets

HI VB gurus!
Is there a way to write a macro to hide and show (with one control
button) that will hide and then show a group of worksheets.

i.e. I have a report that links markets to sub-regions and regions up
to national total.

I want to be able to hide all the markets and sub-markets with one
button.
Thanks for your help!
Tina

  #2   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Hide and show a group of worksheets

sheets(array("sheet 1","sheet 2","Sheet 3")).visible=false

"dreamkeeper" wrote:

HI VB gurus!
Is there a way to write a macro to hide and show (with one control
button) that will hide and then show a group of worksheets.

i.e. I have a report that links markets to sub-regions and regions up
to national total.

I want to be able to hide all the markets and sub-markets with one
button.
Thanks for your help!
Tina


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Hide and show a group of worksheets

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Hide and show a group of worksheets

Thanks!

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
Toggle show / hide group outline symbols with shortcut Ted M H Excel Discussion (Misc queries) 7 April 23rd 23 07:44 PM
Hide/Show details in an Outline Group JimAA Excel Discussion (Misc queries) 0 November 11th 09 05:56 PM
Hide/Show some worksheets Tony S.[_2_] Excel Discussion (Misc queries) 8 January 18th 09 07:28 PM
How do I show or hide detail for a group in a protected worksheet Gilles FAURE Excel Discussion (Misc queries) 0 November 1st 06 01:47 AM
How do I group worksheets (Lotus 123 function is "Sheet>Group Shee jaking Excel Worksheet Functions 2 August 30th 05 02:09 PM


All times are GMT +1. The time now is 08:03 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"