+ Reply to Thread
Results 1 to 6 of 6

Hiding Columns based on the value of a drop down list

  1. #1
    Registered User
    Join Date
    04-16-2012
    Location
    Bellevue, WA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Hiding Columns based on the value of a drop down list

    Hi folks,

    I'm trying to make a macro run to hide a certain column based on the value of a drop down list in Excel 2007. So far, my code looks like this:
    Please Login or Register  to view this content.
    but doesn't run when the appropriate cell value (E11) = TD, can someone help me here?

  2. #2
    Registered User
    Join Date
    04-16-2012
    Location
    Bellevue, WA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Hiding Columns based on the value of a drop down list

    I wrote a quick macro to hide 2 columns and assigned it to a drop down, but when i click on the selection, it hides my entire spreadsheet...
    The macro looks like this:

    Please Login or Register  to view this content.
    What did i do wrong?

  3. #3
    Forum Contributor
    Join Date
    03-21-2012
    Location
    Ho Chi Minh city
    MS-Off Ver
    Excel 2003
    Posts
    180

    Re: Hiding Columns based on the value of a drop down list

    Hope this help
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-16-2012
    Location
    Bellevue, WA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Hiding Columns based on the value of a drop down list

    How do I apply that code to the list?

  5. #5
    Registered User
    Join Date
    04-16-2012
    Location
    Bellevue, WA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Hiding Columns based on the value of a drop down list

    I'm sorry, still not understanding, can someone please break this down for me?

  6. #6
    Registered User
    Join Date
    04-16-2012
    Location
    Bellevue, WA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Hiding Columns based on the value of a drop down list

    Figured it out

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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