+ Reply to Thread
Results 1 to 3 of 3

Adapt an automated advanced filter code to lock a particular column?

  1. #1
    Registered User
    Join Date
    11-22-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    8

    Adapt an automated advanced filter code to lock a particular column?

    Yesterday I posted a question about automating an advanced filter and got a really helpful response from jaslake, thread here: http://www.excelforum.com/excel-prog...lp-needed.html

    What I would now like to do, however, is one of the following:

    1. Either lock and/or hide column L on the individual "Area" sheets that result from running the filter, so that an item can only be marked as complete on the "Master Timetable" sheet.

    OR

    2. Create some kind of dynamic link, so that if a user marks an item as complete (after running the update) on one of the "Area" sheets, it also updates the item on the Master Timetable, and does not lose the info the next time the update is run.

    I'm not sure which of the two options is the easiest, to be honest.

    The code that jaslake produced for me is as follows:

    Please Login or Register  to view this content.
    And my workbook is attached below. Thank you in advance for any help, it would be much appreciated!
    Last edited by arlu1201; 05-10-2012 at 11:28 AM. Reason: Removed attachment on OP request.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Adapt an automated advanced filter code to lock a particular column?

    H Edie0512

    Just add these two lines of code
    Please Login or Register  to view this content.
    I've opted for the "Hide" solution...the cells could most certainly be locked if you choose. However, that also involves protecting the "Areas" worksheets. If you prefer that route let me know.
    Last edited by jaslake; 11-23-2011 at 06:30 PM.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    11-22-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Adapt an automated advanced filter code to lock a particular column?

    Thank you so much for your help, happy to go with keeping the column hidden. Really appreciate you taking the time to help out a newbie!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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