+ Reply to Thread
Results 1 to 12 of 12

Macro for Hide & Unhide the rows upto a certain column

  1. #1
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Macro for Hide & Unhide the rows upto a certain column

    Dear Experts,

    Please find here attached sample workbook, Where row 11 & 12 are with 0 Values for column H, J, N, & P and i am looking for the macro to hide the rows with 0 Values and i do have tables in Column S to Column BN which i do not want to hide them.

    I want to hide the rows only from Column A to Column P. Request to you kindly do provide your precious expertise.

    Many thanks and kind regards,

    Neilesh
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Macro for Hide & Unhide the rows upto a certain column

    If you are using tables, are you not able to use the filter? If you are hiding a row in 1 column, you are hiding a row for all the columns

  3. #3
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Macro for Hide & Unhide the rows upto a certain column

    Dear Expert,

    Is it not possible to hide the rows upto certain column ie. column P

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Macro for Hide & Unhide the rows upto a certain column

    Try it out, see if you can do it.

  5. #5
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Macro for Hide & Unhide the rows upto a certain column

    Dear Expert,

    I do not have anything to try as of now. If you have can you please provide the macro.

    Many thanks and kind regards,

    Neilesh
    Last edited by Neilesh Kumar; 09-12-2017 at 01:34 PM. Reason: Completing the info

  6. #6
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Macro for Hide & Unhide the rows upto a certain column

    Quote Originally Posted by davesexcel View Post
    Try it out, see if you can do it.
    Dear Expert,

    I do not have anything to try as of now. If you have can you please provide the macro.

    Many thanks and kind regards,

    Neilesh

  7. #7
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Macro for Hide & Unhide the rows upto a certain column

    It's not a macro issue is a physicality issue. You can't hide part of a row. How can you have A10 hidden, but B10 showing?

  8. #8
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Macro for Hide & Unhide the rows upto a certain column

    Dear Expert,

    Thank you for you precious support and valuable phase.

    Many thanks and kind regards,

    Neilesh

  9. #9
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Macro for Hide & Unhide the rows upto a certain column

    Dear Expert,

    Is it possible to use the macros for Cell Up and Cell Down from column B to P for 0 Values, instead of using macro for hiding the complete row.

  10. #10
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Macro for Hide & Unhide the rows upto a certain column

    Quote Originally Posted by davesexcel View Post
    It's not a macro issue is a physicality issue. You can't hide part of a row. How can you have A10 hidden, but B10 showing?
    Dear Expert,

    Is it possible to use the macros for Cell Up and Cell Down from column B to P for 0 Values, instead of using macro for hiding the complete row.

  11. #11
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Macro for Hide & Unhide the rows upto a certain column

    This will delete cells that are blank in B:P

    Please Login or Register  to view this content.

  12. #12
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Macro for Hide & Unhide the rows upto a certain column

    Quote Originally Posted by davesexcel View Post
    This will delete cells that are blank in B:P

    Please Login or Register  to view this content.
    Thank you so much Dear Expert, worked like a charm. Once again thanks a ton for your precious phase and valuable support.

    Many thanks and kind regards,


    Neilesh

+ 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] Macro to unhide & hide rows based on column value
    By qvfr034 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-15-2020, 03:00 PM
  2. Hide/unhide rows on changes within a cell in a column
    By JoeVanGeaux in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-09-2017, 12:35 PM
  3. Macro to Hide/Unhide rows with a strikethrough format in a cell in column A.
    By intern91 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2015, 05:44 AM
  4. [SOLVED] VBA macro that hide and unhide column to respective rows based on first column value
    By janine6192 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-14-2013, 06:21 PM
  5. check box hide or unhide rows/column
    By makhdoomliaqat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-28-2013, 08:15 AM
  6. Macro to Hide/Unhide Rows Based on Results in Column Equation
    By jwhite0720 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2011, 04:59 PM
  7. Macro to hide and unhide rows
    By Slinky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-03-2011, 11:48 AM

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