Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default hide and unhide worksheets when a set button on a form is clicked

hi everyone,
the link from the e-mail sent does not show the reply to the problem is sent
earlier which is:
i have aworkbook with 4 worksheets and a user form with 4 buttons, what i
would like to do is have the 4 buttons hide various worksheet tabs when
clicked by the user.
button 1 would show sheets 1 and 2.
button 2 would show sheets 1 and 3.
button 3 would show sheet 1.
button 4 would show sheets 1 and 4.

if the person who replied first time could re-send the answer as my question
is not comming up when i search for it.
many thanks

Dave ferris

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default hide and unhide worksheets when a set button on a form is clicked


When you VIEW CODE on the first button, the code would be:

Code:
--------------------
Sheet1.VeryHidden = False
Sheet2.VeryHidden = False
Sheet3.VeryHidden = True
Sheet4.VeryHidden = True

--------------------


Bet you can figure the others out now. (wink)


--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=44676

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default hide and unhide worksheets when a set button on a form is clic

many thanks for the quick reply sorry about the delay in replying but i have
only just managed to see my ownpost let a lone your reply.
thank you

"JBeaucaire" wrote:


When you VIEW CODE on the first button, the code would be:

Code:
--------------------
Sheet1.VeryHidden = False
Sheet2.VeryHidden = False
Sheet3.VeryHidden = True
Sheet4.VeryHidden = True

--------------------


Bet you can figure the others out now. (wink)


--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=44676


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
hide and unhde worksheets when a set button on a form is clicked Dave ferris Excel Programming 3 December 29th 08 02:56 PM
Issue with workbook not being selected when form button is clicked robs3131 Excel Programming 3 February 16th 08 12:01 AM
hide or unhide rows with button Bea Excel Discussion (Misc queries) 15 September 19th 07 07:03 PM
Hide/Unhide Form Control qwerty[_2_] Excel Programming 2 August 6th 06 06:27 PM
Hide/Unhide Sheets Form dbarelli[_18_] Excel Programming 3 August 1st 06 03:09 PM


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