fari1
Active Member
- Joined
- May 29, 2011
- Messages
- 362
hi,i need some immediate help on my following code, my below code works for just one column, i want to make it work from column A:I, in short want to create a loop out of it.
Code:
Sub Checkblank()
Dim mycount As Long
mycount = Application.WorksheetFunction.CountBlank(Range("B:B"))
If mycount < 1 Then
Exit Sub
Else
Range("B:B").Select
Selection.Delete Shift:=xlToLeft
End If