John Musbach
New Member
- Joined
- Jun 2, 2009
- Messages
- 5
Hi, I'm trying to copy a user selected area of a spreadsheet and then paste just the values of the selection (so that the formulas aren't copied over as they would no longer be valid) using pastespecial but currently all that is returned is a cryptic error "400". What am I doing wrong? The code is below. Thanks! 

Code:
Selection.Copy
Sheets.Add.Name = "Pasted"
Sheets("Pasted").PasteSpecial Paste:=xlPasteValues