Help: Copy sheet - Paste as Value on Itself

  • Thread starter Thread starter Rich F
  • Start date Start date
R

Rich F

Hi,

Any help on this would be greatly appreciated:

I need a macro to copy a sheet then paste on top of itself as a value
I've tried but no luck
 
Hi Rich,

Try:

Sub Test()
Dim Sh As Worksheet
Set Sh = Sheets("Sheet1") '<<===== CHANGE
With ActiveSheet.UsedRange
.Copy
.PasteSpecial Paste:=xlValues, _
Operation:=xlNone, _
SkipBlanks:=False, _
Transpose:=False
Application.CutCopyMode = False
End With
End Sub
 
Rich

Sub Copy_OnTop()
With ActiveSheet
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
End With

End Sub

Macro Recorder is a great tool..........

Gord Dibben Excel MVP
 

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