Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
hstijnen
 
Posts: n/a
Default How to detect if sheet is hidden?

Hi,

I've a workbook with several sheets. Formula's in one sheet point to
other sheets. Is there a way to detect, in a formula, whether the
sheet that is pointed to is hidden or not?

Thanks for help,

Henk
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

You would need a UDF to tell you, like

Function SheetStatus(name As String)
Select Case Worksheets(name).Visible
Case xlSheetHidden: SheetStatus = "Hidden"
Case xlSheetVeryHidden: SheetStatus = "Very Hidden"
Case Else: SheetStatus = "Visible"
End Select
End Function


--

HTH

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


"hstijnen" wrote in message
m...
Hi,

I've a workbook with several sheets. Formula's in one sheet point to
other sheets. Is there a way to detect, in a formula, whether the
sheet that is pointed to is hidden or not?

Thanks for help,

Henk



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
Use userform to get input and compare to a hidden sheet cwwolfdog Excel Discussion (Misc queries) 11 March 24th 05 12:45 AM
Can a macro format a hidden sheet? Robert Excel Discussion (Misc queries) 1 February 9th 05 06:13 PM
How Can I copy a sheet that has hidden rows without copying the h. ibrahim Excel Worksheet Functions 1 January 13th 05 01:25 AM
Excel Sheet - Hidden Border or Frame Priscilla Excel Discussion (Misc queries) 2 December 18th 04 12:28 AM
Naming & renaming a sheet tab Cgbilliar Excel Worksheet Functions 1 November 7th 04 05:57 PM


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