+ Reply to Thread
Results 1 to 4 of 4

Code to hide row

  1. #1
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Code to hide row

    Hi,

    I would like some code please that hides the entire row when a date is added in column E first row is E5

    I would like to be able to hide and unhide all hidden rows based on a check box in O2

    Any help greatly appreciated

    Thanks
    Kevin

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,192

    Re: Code to hide row

    this code hides the cells if there is a value in Cell O2.
    and it assumes there are values in col A. It moves down A until it runs out of data, hiding rows on the way.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Code to hide row

    ranman256 works great, thank you!

    Kevin

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,768

    Re: Code to hide row

    Sorry. Wrong 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. [SOLVED] Which below code, I can Hide & unhide, but I want only allow to HIDE
    By rajeshn_in in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2016, 04:10 AM
  2. [SOLVED] I have HIDE & PROTECT code, But i want ONLY HIDE, can any one edit this !!!
    By rajeshn_in in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2016, 02:03 AM
  3. vb hide code
    By bogd1n in forum Excel General
    Replies: 1
    Last Post: 04-08-2015, 10:54 AM
  4. hide VBA code
    By Goodstart14 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2014, 09:28 AM
  5. How to hide vba code
    By gonger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 11:46 AM
  6. Is There Way To Hide Code
    By Launchnet in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2009, 12:59 PM
  7. placement of code to dynamically hide code
    By paradox in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2008, 06:29 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