hide blank row

  1. B

    How To Make This VBA Code Faster To Hide Upto 2200 Rows & Set Certain Rows at Specific Height If more than 60 Characters

    Can Excel Top Gun here help a rookie out and let me know if there are a better/faster way to perform the same action? This code works, but its slow and can take around 3-4 minutes on a laptop with i7 12th Gen processor & 64Gb RAM. The process is to hide the entire row if the respective cell in...
  2. tlc53

    Macro to hide/unhide rows based on column value

    Hi there, I've tried a couple of different codes but can't quite pull it together. In Columns G15:G49 and H15:H49 I have formulas. If both cells in the columns equal zero (eg. G15 & H15), I would like to hide that row (row 15). If one is more than zero, it should be visible. If the data...
  3. S

    Excel VBA to hide rows based on cell value across multiple sheets

    I am attempting to write excel VBA to hide blank rows across multiple worksheets based on cell value in Column A. Sheet 1 is where I use formulas to populate the rest of the sheets so this sheet will need to be excluded from the VBA. Sheet 2-5 are identical in terms of last names displayed and...
  4. D

    Hide rows in pivot table wehere the values are "empty" (VBA)

    Hi, I want to hide the entire row in a pivot table in which the value(-s of that row is either zero, empty, or #NB. In the beginning of the year there wuill be o1 value in the pivot table (month=1). At the end of the year there will be 12 values in the pivot table (month=12). I want to solve...
  5. A

    VB Autofilter issue - odd behavior if too many columns populated, hides rows outside of range

    I have been working on a very complex excel sheet for my job - used for estimating equipment, labor, and other costs for a services company. I have most of it working, but ran into an issue when I went to do a beta test. The bill of materials is quite long, and I have "collapse" and "expand"...
  6. J

    VBA to hide row if cell is blank given a pre selected range of rows

    I am looking to hide rows if column B is blank using a pre-selected range of rows. I have several data blocks on a sheet that feed charts and as I copy/paste data into it, I select the range of rows then I plan on running this module using the pre-selected range (so I don't have to make a...
  7. D

    Hide / unhide rows based on value

    Hi guys, This is my first time actually posting here so here goes: The question is simple enough (I hope); I have a master spreadsheet that controls two slave spreadsheets. Layout-wise they are more or less identical, the columns are slightly different but the rows are exactly the same. The...
  8. N

    hide/unhide blank rows with VBA

    I am struggling to come up with a vba code that allows me to search column B, Rows 21:89 for blanks then hide/unhide the associated row. I would like it to be one macro so that I don't have to have two buttons on the sheet to hide/unhide.
  9. U

    Form Control Combo Boxes Moving when rows hidden / unhidden

    I have this crazy project in Excel 2010 and I have one issue plaguing it right now. I've used Combo Boxes to allow a value to be selected in one of two spots - two combo boxes each pointing to the same data in a cell. On a summary page I've created, I've used VBA to hide rows that don't...
  10. W

    Hiding rows based on criteria

    Hi, I'm looking to create a piece of VBA code that will hide rows if column B contains the number 0. My workbook has about 4000 rows. Thanks,
  11. L

    Hide row based on conditional formatting

    We have a spreadsheet that uses lookups for many fields including column F which will return either blank or "1". We would like to hide any row in which the value of Column F=1 I have found places this can be done in Visual Basic, but as neither myself or the other person who will likely...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top