Results 1 to 22 of 22

Conditionally Hide Columns

Threaded View

  1. #17
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Conditionally Hide Columns

    Hi Gos

    Sorry about the delay. Got called away.

    Try this out.

    I don't know what cells to lock and what your list drop downs rules are (I may have lost some while testing)

    1/. I have added column "Q" to the macro activation, it should hide the columns based on "D" in the same row, as does column "D" with "Q".

    Don't know if you need this, but it seemed logical to me. It is fairly obvious how to cancel this.

    2/. I have made your new button toggle hide/unhide columns "S:CQ"

    3/. The sheet will be protected when it is opened. To make changes to the sheet use unprotect (Password = "test") don't protect it again. Save/Close/Re-open to check changes. Same with changing the password in ThisWorkbook

    4/. You should also Password protect the VBa to prevent any adventurous user going into the code and finding sheet Password.

    Let me know how you get on.

    Regards
    Alistair
    Attached Files Attached Files

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