+ Reply to Thread
Results 1 to 2 of 2

collapse columns in conjunction with a collapse rows macro

  1. #1
    Registered User
    Join Date
    10-31-2006
    Posts
    61

    collapse columns in conjunction with a collapse rows macro

    Hi All,

    I have the code below which is working great to collapse empty rows, and when presenting to management they asked if the if the same macro I have working to collapse rows could be modified to also collapse empty columns. I would end up having a formula in row 1 that summed all the rows in a particular column and if those columns sum wasn't zero then it would display an X just like the collapse rows macro looks for to work properly. Any help modifying this macro to include this functionality is greatly appreciated.

    Thanks,

    Chris

    Please Login or Register  to view this content.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2505
    Posts
    2,790

    Re: collapse columns in conjunction with a collapse rows macro

    You are going want to use code to hide the column(s) in question. There's no autofilter that I know of for columns.

    I can't really write code for you without seeing your workbook.

    ViewPic

+ 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. Macro to expand and collapse rows based on criteria in cells
    By jholiday78 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-26-2015, 10:32 AM
  2. [SOLVED] Collapse Rows with +, -
    By 2000m2 in forum Excel General
    Replies: 4
    Last Post: 09-02-2013, 08:11 PM
  3. Excel Macro to Collapse/Expand grouped rows and columns
    By magjayeck in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2013, 10:58 AM
  4. [SOLVED] Macro to collapse columns needed
    By neelpatel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-20-2012, 02:08 PM
  5. Collapse Columns
    By donlincolnef in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2010, 04:03 PM
  6. Columns - Expand and Collapse
    By Cecil in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-04-2008, 10:54 AM
  7. Expand and Collapse Columns
    By JVICO in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-20-2006, 09:15 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