+ Reply to Thread
Results 1 to 2 of 2

Summarizing columns, hiding certain cells

  1. #1
    Registered User
    Join Date
    09-08-2011
    Location
    Winston-Salem, NC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Summarizing columns, hiding certain cells

    I have a huge worksheet that shows all customers and every item we pack. I need to print a copy that does not include columns where nothing was ordered (row 426 from column E:BT contain the column total).

    Is there a macro I can use that would hide columns, print, and unhide columns or would it be better to use VBA to not show columns with a "0" on row 426? If VBA is used, how would you "turn it of" if you needed to modify the sheet?

    Thanks in advance for helping figure this out.

    Copy of V Sales List Forum.xlsm

  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: Summarizing columns, hiding certain cells

    Hi LegionLord

    Here is Code to Hide Columns with 0 in the Last Row
    Please Login or Register  to view this content.
    And here's Code to UnHide all Columns
    Please Login or Register  to view this content.
    Assign the Code to Buttons on the Target Sheet.
    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.

+ 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. Hiding Columns in a table if ALL the cells in column are a certain value
    By Zach51215 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-30-2013, 04:21 AM
  2. Hide Cells in Columns and Rows without hiding all of the Colum or Row
    By choke in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-17-2012, 10:49 AM
  3. Un-Hiding and Hiding Columns based on Drop-Down Values in a Column.
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2011, 06:49 AM
  4. Hiding Rows/Columns if Cells are merged
    By Reverserewind in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2009, 04:12 PM
  5. Hiding cells, not entire rows or columns
    By bouvougan in forum Excel General
    Replies: 13
    Last Post: 12-06-2008, 02:44 AM

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