+ Reply to Thread
Results 1 to 2 of 2

Automatically Hide Row with Zero value in a specific Cell

  1. #1
    Registered User
    Join Date
    09-07-2015
    Location
    Kenya
    MS-Off Ver
    2007
    Posts
    4

    Post Automatically Hide Row with Zero value in a specific Cell

    Hi

    Help me Hide a row if a Cell in Range O2:O20 is Zero (Has no Value)
    Note that this is a TOTAL Column it has a Formular in it.
    How do i Automatically hide the entire Row?

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Automatically Hide Row with Zero value in a specific Cell

    Here is a vba solution
    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    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

+ 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. Automatically hide row based on a #NA Value in a particular cell
    By tlaxxx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2015, 08:12 AM
  2. Replies: 2
    Last Post: 07-27-2014, 11:48 PM
  3. [SOLVED] Automatically hide the first N digits in a cell
    By ylcard in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-15-2014, 05:40 AM
  4. Automatically hide the first N digits in a cell
    By ylcard in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-15-2014, 04:05 AM
  5. Hide specific columns dependant on number in specific cell
    By ladbroke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 04:46 PM
  6. Replies: 5
    Last Post: 05-01-2012, 04:02 PM
  7. automatically hide row if cell contains asterisk
    By djarcadian in forum Excel General
    Replies: 9
    Last Post: 03-22-2006, 02:35 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