Results 1 to 5 of 5

Hide rows in a protected sheet.

Threaded View

  1. #1
    Registered User
    Join Date
    03-07-2017
    Location
    Stockport, England
    MS-Off Ver
    2007
    Posts
    91

    Hide rows in a protected sheet.

    Hi Guys,

    I have seen various ways to hide and un-hide rows in a protected sheet. So far none seem to be working for me. This is the line of code I am trying to get to work in a protected sheet.

    If FlexSerSubvBx.Value = True Then
    Rows("39:40").EntireRow.Hidden = False
    End If
    
    If FlexSerSubvBx.Value = False Then
    Rows("39:40").EntireRow.Hidden = True
    End If
    So far I have attempted 3 different was to deactivate the password at the beginning of the code and then reactivate it at the end of the code. None have worked!!! Therefore I am starting to think there might be something else afoot. If anyone could help I would appreciate it. I have attached the document also and it is run in a userform named ClintInvShpInputForm.

    Thanks in advance.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Enabling hide/unhide rows in protected sheet
    By gm2612 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2014, 05:16 AM
  2. complicated hide/unhide rows on protected sheet
    By achohan in forum Excel General
    Replies: 15
    Last Post: 06-21-2012, 02:27 PM
  3. [SOLVED] VBA Hide/Unhide Rows when Sheet protected
    By Kinez101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2012, 01:34 PM
  4. Replies: 1
    Last Post: 08-19-2011, 10:25 AM
  5. Hide rows on a protected sheet with macro
    By darthshani in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-12-2009, 03:40 AM
  6. [SOLVED] Macro to hide rows-sheet is being protected
    By Alex in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2005, 03:15 PM
  7. [SOLVED] how to hide rows in a protected sheet
    By Prakash in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-18-2005, 11:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1