Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hey, I need to clear the content

Status
Not open for further replies.

BIGALINWALES

IS-IT--Management
Feb 5, 2002
98
GB
Hey,

I need to clear the contents of every 4th row starting from row 3 and then insert two new rows aswell. I have this which works if you put numbers in place of the i's on the rows command. Should i be an Integer?

Many Thanks in advance

Alex


Dim i As Integer

For i = 3 To 120 Step 4
Rows("i:i").Select
Selection.ClearContents
Selection.Insert Shift:=xlDown
Selection.Insert Shift:=xlDown
Next
 
Please ignore, Looked about four posts down and saw someone ask the question and get an answer very recently. [blush]Sorry for wasting your time guys.

Thanks Skip for your other post [wink]

Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top