Help in 'unhiding' sheets

ijheyburn

Board Regular
Joined
Apr 18, 2013
Messages
56
I have a workbook with a number of sheets that are hidden and one that remains visible at all times (it's called 'Front Sheet').

However I also have another sheet which I would like to remain visible at all times - it's called Quick Glance Overview; currently it remains hidden and only appears when i click through to it, when I click off it only 'Front Sheet' remains visible

I have the following in the view code section of the 'Front Sheet' - how would I amend this so that the 'Quick Glance Overview' sheet also remains visible at all times? Any help would be appreciated:

Private Sub Worksheet_Activate()
Dim sh As Worksheet

For Each sh In ThisWorkbook.Sheets
If sh.Name <> "Front Sheet" Then
sh.Visible = xlSheetHidden
End If
Next sh
End Sub

There are a few more entries relating to cells that I click to display sheets that I have hidden but as I say I wish for the Quick Glance Overview to remain visible at all times - can someone help please?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Welcome to the board..

Try

If sh.Name <> "Front Sheet" AND sh.Name <> "'Quick Glance Overview" Then
 
Upvote 0
Change this:
If sh.Name <> "Front Sheet" Then
to this:
If sh.Name <> "Front Sheet" and sh.Name <> "Quick Glance Overview" Then
 
Upvote 0
Wunderbar - thank you very much - so simple in the end but this is a great help for me. Thanks again
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,264
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top