Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With a DV dropdown list of sheets in D1 of an always visible sheet.
Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Target, Me.Range("D1")) Is Nothing Then Exit Sub On Error GoTo endit With Application .EnableEvents = False .ScreenUpdating = False End With With Sheets(Target.Value) If .Visible = False Then .Visible = True Else .Visible = False End If End With endit: With Application .ScreenUpdating = True .EnableEvents = True End With End Sub This is sheet event code. Right-click on the sheet tab and "View Code" Copy/paste the code into that sheet module. Adjust target range to suit. Alt + q to return to the Excel window. Gord Dibben MS Excel MVP On Mon, 11 Aug 2008 18:40:09 -0700, Keith wrote: I would like to know how you can make one of several hidden worksheets visible based on a pull down selection on a visible worksheet. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide/Unhide after protect sheet | Excel Discussion (Misc queries) | |||
How to hide/unhide a sheet? | Excel Discussion (Misc queries) | |||
Hide or unhide sheets based on cell | Excel Discussion (Misc queries) | |||
Hide row(s) based on drop down selection | Excel Discussion (Misc queries) | |||
Macro to hide and unhide based on criteria | Excel Discussion (Misc queries) |