I created a workbook which has a number of sheets which reference data on other sheets. I want to add a button to the worksheets so that when pressed, it will run a macro which will hide all the empty rows. I want to avoid picking all the empty rows and selecting hide. The VBA code I've tried using hasn't worked that well. I want to hide all rows if there is no data in columns A through G from rows 1 through 300. Is this possible?
↧