certifydgangsta
Registered User.
- Local time
- Today, 14:33
- Joined
- Jan 13, 2014
- Messages
- 26
I am attempting to use the code below in access vba and am struggling greatly. Any help is greatly appreciated.
Code:
Sub deleterows()
Dim wf As WorksheetFunction
Set wf = Application.WorksheetFunction
For j = Range("A1").End(xlToRight).Column To 1 Step -1
If wf.CountA(Range(Cells(2, j), Cells(Rows.Count, j))) = 0 Then
Columns(j).Delete
End If
Next j
End Sub