Hi
I've like to
- copy sheet 9 in a workbook
- move it to the front of the workbook
- then copy and paste everything in that sheet as values
Does anyone know how to do this, please? I know the code below will activate it then move it to the front.
The methods I've seen online copy it to a new workbook but Ito copy it and keep the copy within the workbook.
I've like to
- copy sheet 9 in a workbook
- move it to the front of the workbook
- then copy and paste everything in that sheet as values
Does anyone know how to do this, please? I know the code below will activate it then move it to the front.
The methods I've seen online copy it to a new workbook but Ito copy it and keep the copy within the workbook.
Code:
Sub FN()
Sheet9.Activate
<code class="vb plain" style="font-size: 16px; white-space: nowrap; padding: 0px !important; font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; color: rgb(0, 0, 0) !important; border-radius: 0px !important; background: none !important; border: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important; box-sizing: content-box !important; min-height: auto !important;">ActiveSheet.Move Before: = ActiveWorkbook.Sheets(1)</code>
End Sub