Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Hide n' show cells in protected sheet

I need to show and hide rows in a protected sheet (2003), but I can't make it
happen. Is it possible at all in either 2003 or 2007??
--
Thanks from Denmark
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Hide n' show cells in protected sheet

With a macro.

Sub hide_unhide()
ActiveSheet.Unprotect Password:="justme"
Rows("1:23").Hidden = True
ActiveSheet.Protect Password:="justme"
End Sub

Or possibly toggle

Sub toggle_hide_unhide()
ActiveSheet.Unprotect Password:="justme"
Rows("1:23").Hidden = Not Rows("1:23").Hidden
ActiveSheet.Protect Password:="justme"
End Sub


Gord Dibben MS Excel MVP


On Fri, 26 Oct 2007 13:29:01 -0700, Excellgreenhorn
wrote:

I need to show and hide rows in a protected sheet (2003), but I can't make it
happen. Is it possible at all in either 2003 or 2007??


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
How to show or hide outlined data option in a protected worksheet? Listasista Excel Discussion (Misc queries) 3 April 4th 23 11:36 AM
Show Comments on Protected Sheet Sarah Excel Discussion (Misc queries) 4 March 23rd 07 08:03 AM
How do I show or hide detail for a group in a protected worksheet Gilles FAURE Excel Discussion (Misc queries) 0 November 1st 06 01:47 AM
how to hide rows in a protected sheet Prakash Excel Worksheet Functions 7 January 18th 05 02:42 PM
Why can't I show or hide rows in an outline on a protected sheet? rwlass Excel Discussion (Misc queries) 1 December 9th 04 04:38 PM


All times are GMT +1. The time now is 07:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"