I'm trying to copy only values (not formulas) of the last sheet and name the new sheet "Games". I'm using this:
But it's creating a new Workbook (file), not a new sheet after the last one. Plus, the last sheet is not the one active all the time... Could someone help me? Thanks
Code:
<code style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;">Sub CreateColumn()ActiveSheet.CopyCells.CopyRange("A1").PasteSpecial Paste:=xlPasteValuesApplication.CutCopyMode = False ActiveSheet.Name = "Games" Application.ScreenUpdating = FalseEnd Sub</code></pre>
But it's creating a new Workbook (file), not a new sheet after the last one. Plus, the last sheet is not the one active all the time... Could someone help me? Thanks