Hi guys
I want copying the whole data from sheet1 to sheet2 but I don't copy any row contains the whole blank range from C2: H 600 H . if the columns C:H into sheet1 (the whole cells in columns C,D,E,F,G,H should delete entire row if they are blank cells together ) . when contains blank cells then shouldn't copy rows should ignore it when copy to sheet2 with considering when run the macro more than one time should not copy data to the bottom repeatedly .
briefly the rows where contains whole columns C,D,E,F,G,H blank cells should not copy to sheet2 at all
I put a little result in sheet2
this code doesn't work for me correctly
Sub testest()
Dim lrow, lrow1 As Long
Dim rng As Range
lrow = Sheet1.Range("T" & Rows.Count).End(xlUp).Row
lrow1 = Sheet2.Range("A" & Rows.Count).End(xlUp).Row
Sheet1.Range("T3:AA" & lrow).SpecialCells(xlCellTypeVisible).Copy
Sheet2.Range("A1").PasteSpecial
For Each rng In Sheet2.Range("c2:h" & lrow1)
If Application.WorksheetFunction.CountBlank(rng) = rng.Cells.Count Then rng.EntireRow.Delete
Next rng
End Sub