+ Reply to Thread
Results 1 to 6 of 6

Hide Rows & Columns with Simple Function

  1. #1
    Registered User
    Join Date
    10-10-2014
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    14

    Hide Rows & Columns with Simple Function

    Hi All,

    I'm trying to hide & un-hide rows & columns where the values are ZERO in a specified rows & columns in a large report. I have attached a sample file & highlighted the rows which needs to be hidden.

    Please let me know if there is a formulae or how to build a macro (step by step).

    Thanks in advance
    John
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: Hide Rows & Columns with Simple Function

    Here are two macros
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Hide Rows & Columns with Simple Function

    Hi John,

    See if this VBA code can make sense to you.

    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    10-10-2014
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    14

    Re: Hide Rows & Columns with Simple Function

    Thank you Marvin

  5. #5
    Registered User
    Join Date
    10-10-2014
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    14

    Re: Hide Rows & Columns with Simple Function

    Thank you Alan

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: Hide Rows & Columns with Simple Function

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Hide Rows/Hide Columns Based on Value in Cell
    By brickwall823 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2015, 02:42 PM
  2. VBA code to hide filtered columns (simple table 5 rows / 6 columns wide)
    By e2010 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2014, 02:41 PM
  3. Ugh! I need what I thought would be a very simple Macro to hide rows
    By ryankenn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2014, 01:45 AM
  4. Simple Script to hide rows - runs slow
    By davecox2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-02-2014, 01:35 PM
  5. simple macro to hide or unhide rows based on a cell value
    By Russ Fuquay in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-19-2013, 06:32 PM
  6. [SOLVED] Simple macro to hide rows running very slowly
    By mbp727 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2013, 02:37 PM
  7. hiding columns or rows not using the hide function
    By Rayasiom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-20-2006, 04:45 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