Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
hidden worksheet
Please can someone answer this question I got at an interview?
What might be a reason why code to make a worksheet hidden might not work? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
hidden worksheet
The workbook is protected at ToolsProtectionProtect Workbook.
Gord Dibben MS Excel MVP On 16 Jan 2007 16:10:04 -0800, "colmkav" wrote: Please can someone answer this question I got at an interview? What might be a reason why code to make a worksheet hidden might not work? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
hidden worksheet
Here are a couple:
It'll fail if the workbook's structure is protected (tools|Protection|protect workbook|check structure) It'll fail if that's the only visible worksheet in the workbook. The code tries to hide a worksheet by name and there is no worksheet by that name (the user renamed/deleted it). colmkav wrote: Please can someone answer this question I got at an interview? What might be a reason why code to make a worksheet hidden might not work? -- Dave Peterson |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
hidden worksheet
The code tries to hide a worksheet by name and there is no worksheet by that
name (the user renamed/deleted it). Or the code is trying to select the hidden sheet in question in order to hide it, but the sheet is already hidden (or does not exist or is otherwise unavailable). In any event, it's probably due to the user doing something you didn't think any rationale person would attempt. "Dave Peterson" wrote: Here are a couple: It'll fail if the workbook's structure is protected (tools|Protection|protect workbook|check structure) It'll fail if that's the only visible worksheet in the workbook. The code tries to hide a worksheet by name and there is no worksheet by that name (the user renamed/deleted it). colmkav wrote: Please can someone answer this question I got at an interview? What might be a reason why code to make a worksheet hidden might not work? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I get ONLY new info from 1 Worksheet to another automatical | Excel Worksheet Functions | |||
Hidden worksheet | Excel Worksheet Functions | |||
How do I NOT copy hidden rows to a new worksheet? | Excel Discussion (Misc queries) | |||
Hidden Worksheet | Excel Worksheet Functions | |||
Accessign formula's in worksheet that appear to have been hidden | Excel Discussion (Misc queries) |