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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

paste special as an insert ?

Status
Not open for further replies.

Yogi39

Technical User
Jun 20, 2001
273
CA
Range("B2:F20").Select
Range("B20").Activate
Selection.Copy
Range("B22").Select
Selection.Insert



Can I mod the above to PasteSpecial, that is I want to insert the data UNFORMATED !(as the original selection is formated)
 
Range("A1").Select
Selection.Copy
Range("G9").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
 
ooops ...sustitute your cell ranges in the previous example.
 
this kinda works.....but still not inserting correctly.
For i = 20 To 2 Step -1
A = Range("a" & i).Value
B = Range("b" & i).Value
C = Range("c" & i).Value
D = Range("d" & i).Value
E = Range("e" & i).Value
Range("A25").Select
Range("A25").Value = A
Range("B25").Value = B
Range("C25").Value = C
Range("D25").Value = D
Range("E25").Value = E
Selection.Insert
Next i
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top