Hi
I want to identify particular range row wise if any value then copy that row not entire row but range of that row want to copy and paste in sheet4 please tell me how to do this
Range is N2:T100
This code is checking whole Row i want to check in particular range
I want to identify particular range row wise if any value then copy that row not entire row but range of that row want to copy and paste in sheet4 please tell me how to do this
Range is N2:T100
This code is checking whole Row i want to check in particular range
Code:
Sub T1()
Dim row As Range
Dim sheet As Worksheet
Set sheet = ActiveSheet
For i = 1 To sheet.UsedRange.Rows.Count
Set row = sheet.Rows(i)
If WorksheetFunction.CountA(row) = 0 Then
MsgBox "row " & i & " is empty"
End If
Next i
End Sub