I_HideEmptyRowsForRange
The VBA procedure I_HideEmptyRowsForRange hides all rows in a range when all columns in that range are null and/or empty and/or 0. Typically used to hide all empty rows after fetching data.
Parameters:
rangeToCheck: Excel range to hide rows for that meet the criteria.
Examples
The following code hides each row where a column cell values are empty and/or null and/or 0:
HideEmptyRowsForRange("a1:g14")