ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy Paste a sheet to new workbook (https://www.excelbanter.com/excel-programming/394710-copy-paste-sheet-new-workbook.html)

Manos

Copy Paste a sheet to new workbook
 
Dear all

i do not have to many knoweldeges for vb.
what i am looking for is that: I have a workbook with many sheets where i
fill on specific sheet with to many formulas (Sheet 1).
There is any way to have a macro where to copy this sheet exactly as it is,
into a new workbook, but without the formulas? (copy paste values and
formats).

Thanks in advance
Manos

reklamo

Copy Paste a sheet to new workbook
 
Hi Manos

Try this:
' Copy active sheet in a new workbook
ActiveSheet.Copy
' Select the complete sheet and copy it
Cells.Select
Selection.Copy
' Paste the complete sheet as values
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False

Regards
reklamo



"Manos" wrote:

Dear all

i do not have to many knoweldeges for vb.
what i am looking for is that: I have a workbook with many sheets where i
fill on specific sheet with to many formulas (Sheet 1).
There is any way to have a macro where to copy this sheet exactly as it is,
into a new workbook, but without the formulas? (copy paste values and
formats).

Thanks in advance
Manos


Manos

Copy Paste a sheet to new workbook
 
Thank you very much


"reklamo" wrote:

Hi Manos

Try this:
' Copy active sheet in a new workbook
ActiveSheet.Copy
' Select the complete sheet and copy it
Cells.Select
Selection.Copy
' Paste the complete sheet as values
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False

Regards
reklamo



"Manos" wrote:

Dear all

i do not have to many knoweldeges for vb.
what i am looking for is that: I have a workbook with many sheets where i
fill on specific sheet with to many formulas (Sheet 1).
There is any way to have a macro where to copy this sheet exactly as it is,
into a new workbook, but without the formulas? (copy paste values and
formats).

Thanks in advance
Manos



All times are GMT +1. The time now is 03:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com