ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hide/Unhide Sheets (https://www.excelbanter.com/excel-programming/350504-hide-unhide-sheets.html)

Runner77[_4_]

Hide/Unhide Sheets
 

Hello,

I would like to hide Sheet called FrontPage and unhide SHeet Calle
SHeet1 once i have run the following macro.


Sub showMe()
UserForm1.Show
End Sub

Regards
Runner7

--
Runner7
-----------------------------------------------------------------------
Runner77's Profile: http://www.excelforum.com/member.php...fo&userid=3038
View this thread: http://www.excelforum.com/showthread.php?threadid=50157


Gary Keramidas

Hide/Unhide Sheets
 
Worksheets("frontpage").Visible = False
Worksheets("sheet1").Visible = True

--


Gary


"Runner77" wrote in
message ...

Hello,

I would like to hide Sheet called FrontPage and unhide SHeet Called
SHeet1 once i have run the following macro.


Sub showMe()
UserForm1.Show
End Sub

Regards
Runner77


--
Runner77
------------------------------------------------------------------------
Runner77's Profile:
http://www.excelforum.com/member.php...o&userid=30388
View this thread: http://www.excelforum.com/showthread...hreadid=501576




Bob Phillips[_6_]

Hide/Unhide Sheets
 
Maybe best to do it the other way around in case frontpage is the only
visible sheet.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
Worksheets("frontpage").Visible = False
Worksheets("sheet1").Visible = True

--


Gary


"Runner77" wrote

in
message ...

Hello,

I would like to hide Sheet called FrontPage and unhide SHeet Called
SHeet1 once i have run the following macro.


Sub showMe()
UserForm1.Show
End Sub

Regards
Runner77


--
Runner77
------------------------------------------------------------------------
Runner77's Profile:
http://www.excelforum.com/member.php...o&userid=30388
View this thread:

http://www.excelforum.com/showthread...hreadid=501576







All times are GMT +1. The time now is 10:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com