For my problem, I've found similar questions and answers with macro code online, but with my limited macro-writing experience, each time I try to implement another person's code into my file, it does not work. Here is my problem:
My 'Data' worksheet has data in cells B8:D640. Column D is an indicator of hours, which can range from 0 to 999,
For each row of data, if hours is greater than 0, I want the row to be copied into the 'Summary' worksheet into cells B8:D640.
But in the Summary sheet, I want the blank rows deleted. For example, if only 2 rows from the 'Data' worksheet have hours > 0, I want those two records to appear in rows 8 and 9 of the 'Summary' worksheet. So the 'Summary' worksheet ends up being just a copy of the 'Data' worksheet, except with the rows deleted in which hours = 0 or null.
I am using Excel 2010. I've copied a file with the 'Data' sheet and the result I would like to obtain (after running a macro) in the 'Summary' sheet.
Thank you!
Brett
Bookmarks