+ Reply to Thread
Results 1 to 4 of 4

Hide columns if empty from Row 3 onwards vba

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Hide columns if empty from Row 3 onwards vba

    Hi all,
    I have code which will hide columns L to AA if cells are empty.
    It works fine.

    I want to modify it to consider rows 3 onward down.
    It means even if rows 1 & 2 are populated and row 3 onwards down are empty, then it will hide it.

    I tried but it is not working. .
    Please Login or Register  to view this content.
    Any help please
    Many thanks
    Kind regards

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Lightbulb Re: Hide columns if empty from Row 3 onwards vba

    try changing
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: Hide columns if empty from Row 3 onwards vba

    Hi Jewelsharma,
    Very well done.
    Simple but very effective.
    Thanks

  4. #4
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Hide columns if empty from Row 3 onwards vba

    Cheers mate. Happy to help!

+ 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] Hide - Un Hide rows with empty columns
    By BDF in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-14-2014, 02:09 PM
  2. [SOLVED] Hide empty columns Toggle
    By gherzberg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2012, 04:15 PM
  3. VBA code to hide empty columns.
    By ms_ex_novice in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-29-2011, 10:43 AM
  4. [SOLVED] Un hide non empty columns
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2006, 03:28 AM
  5. Un hide non empty columns
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2006, 04:39 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