montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 984
- Office Version
- 2010
- Platform
- Windows
I have a data at A2:AJ5300 and from A2:AJ5 have some unwanted lines and again on A65:AJ68, and A128:AJ131 etc meaning they have the same interval I tried this and do not work
you know help need it
VBA Code:
Sub montecarlo2012()
Dim i As Long
Application.ScreenUpdating = False
For i = 2 To 5300 Step 60
Range("A" & i & ":AJ" & (i + 3)).Delete
Next i
Application.ScreenUpdating = True
End Sub