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

Copy Paste Values only

Status
Not open for further replies.

vestax22

Programmer
Jun 18, 2003
139
CA
Hi, I have a sub in my excel application that copys a range inside a worksheet to another range insode the same worksheet. Heres my code :

With Worksheets("Billing")

.Range("K68:K76").Select
Selection.Copy
.Range("M68").Select
Selection.PasteSpecial Paste:=xlValues

End With

This code doesn't seem to work. No errors though and when I execute the macro by itself it works. It seem not to work when executed inside my code and there doesn't seem to be anything that could cause a conflict.

Any ideas???

Thx
 
This should put you on the right track:

Code:
Sub PasteSpecial()
Range("A1").Copy
Range("B1").PasteSpecial Paste:=xlPasteValues
End Sub



Peace! [peace]

Mike

Never say Never!!!
Nothing is impossible!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top