+ Reply to Thread
Results 1 to 3 of 3

Hide rows when A4 to A703 is blank and still able to protect rest of the sheet, help

  1. #1
    Forum Contributor
    Join Date
    07-07-2014
    Location
    Göteborg
    MS-Off Ver
    2010
    Posts
    130

    Hide rows when A4 to A703 is blank and still able to protect rest of the sheet, help

    Hi,
    I need some help with a macro. I have a lot of data in column A that can wither be a word or an empty cell. I want to hide the rows that have column A as a blank.
    The good thing is that I know the range, and it will always be from A:4 to A:703. But if its possible I would be able to protect the other part of the worksheet so the rows thats not 4-703 wants to be locked and still able to run the macro.
    Is that possible?
    /gandreso

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Hide rows when A4 to A703 is blank and still able to protect rest of the sheet, help

    Hej Gandreso,

    You can set the protection using UserInterface to only allow macros to work, e.g.

    Please Login or Register  to view this content.
    And as for hiding any rows with blank cells within range A4:A703,
    Please Login or Register  to view this content.
    with error wrapping since Specialcells would return error if no empty cells within usedrange.

    Hope this helps.

    Hälsningar,
    berlan
    Last edited by berlan; 08-14-2015 at 02:46 AM.

  3. #3
    Forum Contributor
    Join Date
    07-07-2014
    Location
    Göteborg
    MS-Off Ver
    2010
    Posts
    130

    Re: Hide rows when A4 to A703 is blank and still able to protect rest of the sheet, help

    That sounds smart! Do I put it before my macro or as one individual?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] open worksheet based on month to specific sheet named after month and hide rest
    By ianmcw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2014, 10:19 PM
  2. Protect & hide sheet in workbook
    By Carrfamily in forum Excel General
    Replies: 6
    Last Post: 06-05-2013, 03:37 PM
  3. Delete Blank Rows and Auto Sum the rest values in the column..
    By kittu55 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-29-2013, 11:35 PM
  4. Protect Sheet with VBM Hide Formula
    By znalron@yahoo.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-21-2013, 06:59 AM
  5. Replies: 0
    Last Post: 02-22-2013, 09:23 AM
  6. [SOLVED] Protect and Hide a sheet
    By rlkerr in forum Excel General
    Replies: 3
    Last Post: 11-02-2010, 02:31 PM
  7. Hide & protect sheet
    By Doctorul in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2009, 05:50 AM
  8. Protect worsheet, but allow user to hide rows
    By SeattleSus in forum Excel General
    Replies: 1
    Last Post: 03-24-2005, 03:06 PM

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