+ Reply to Thread
Results 1 to 3 of 3

Hiding Columns with VBA

  1. #1
    Registered User
    Join Date
    10-23-2007
    Posts
    9

    Hiding Columns with VBA

    Hello. I have a situation where depending on the values of a matrix of cells in a first sheet, certain columns in the rest of the sheets (probably 5 more) will either be hidden or visible. I'm sure it's possible but I'm not familiar enough with VBA syntax to make it happen...

    Any suggestions?

    PS... i also need the macro to run everytime a cell in the first sheet is changed.

    Thanks.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Perhaps you can attach a sample workbook illustrating how your data are arranged?

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    PS... i also need the macro to run everytime a cell in the first sheet is changed.
    Do you already have the macro that needs to run?

    If not & you need assistance with it then you will need to supply a lot more details

    changes to what cell/s is required to trigger the cell


    Extract from forum rules
    3). Ensure Your question is not too vague. Never assume anyone is familiar with your problem. While you can upload/download small attachments you MUST ALWAYS FULLY DESCRIBE YOUR PROBLEM IN THE POST TEXT. If you cannot be bothered to clearly explain your problem, don't expect anyone to bother helping for free. While the person helping may be a true Guru, however, in regards to your problem, he/she can only know what you tell them.

    4). Ensure your question is not too detailed and does not contain irrelevant details. Please be as descriptive, concise and to-the-point as possible. Short, direct & to-the-point questions with apt Thread Titles are ALWAYS answered quickly.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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