Copy Range

  • Thread starter Thread starter Glen Mettler
  • Start date Start date
G

Glen Mettler

I need to copy a range from one sheet to another and past values only.
This works but pastes formulas and all:
SourceRange.Copy DestRange

I need to paste values only but this doesn't work:
SourceRange.Copy DestRange.PasteSpecial(Paste:=xlPasteValues)

How do I do it?

Glen
 
Glen said:
I need to copy a range from one sheet to another and past values only.
This works but pastes formulas and all:
SourceRange.Copy DestRange

I need to paste values only but this doesn't work:
SourceRange.Copy DestRange.PasteSpecial(Paste:=xlPasteValues)

How do I do it?

Glen
Range("A1:C3").Copy
Sheets("Sheet9").Range("M25").PasteSpecial Paste:=xlPasteValues

Alan Beban
 
break it into two lines

SourceRange.

Copy DestRange.PasteSpecial Paste:=xlPasteValues
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top