ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   how do I make a copy of a worksheet and retain formulas but not data (https://www.excelbanter.com/setting-up-configuration-excel/5037-how-do-i-make-copy-worksheet-retain-formulas-but-not-data.html)

FireBrick

how do I make a copy of a worksheet and retain formulas but not data
 
I have my pension tracked for 2004
Now I wish to copy all the formatting and formulas to a new worksheet for
2005
I no how to just copy, but the formatting doesn't follow and I will have to
clear all the data info.

So can I tell it to copy the 2004 worksheet to a NEW worksheet named 2005
and retain the column size, formatting, and formulas etc.


Please and thank you.

--


-----------------------------------------------------
"This tagline is identical to the one you are reading."
-----------------------------------------------------

Bill H. in Chicagoland



Nick Hodge

If you want this data in the same workbook, right click on the 2004 sheet
tab and select 'Move or Copy'. Select 'Move to end' and 'Create a copy'.

Now rename the sheet tab by double-clicking it (2005).

Now select a cell in the new 2005 sheet and select
EditGotoSpecial...'Constants' and uncheck 'text'

This should just select hard coded numbers, no formulae etc. Now simply
press the delete key and save.

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"FireBrick" wrote in message
...
I have my pension tracked for 2004
Now I wish to copy all the formatting and formulas to a new worksheet for
2005
I no how to just copy, but the formatting doesn't follow and I will have
to clear all the data info.

So can I tell it to copy the 2004 worksheet to a NEW worksheet named 2005
and retain the column size, formatting, and formulas etc.


Please and thank you.

--


-----------------------------------------------------
"This tagline is identical to the one you are reading."
-----------------------------------------------------

Bill H. in Chicagoland





Gord Dibben

Brick

Two-pronged approach.....

Right-click on the sheet tab and "move or copy". Checkmark in "copy" and OK.

Now, on the copied sheet EditGo To(or just hit F5)SpecialConstants.
De-select what you don't want changed and OK.

Now with constants selected, EditClear Contents.

Formulas and formatting are retained.

If need be you can EditReplace "2004" with "2005"

Gord Dibben Excel MVP

On Wed, 29 Dec 2004 05:59:38 -0600, "FireBrick"
wrote:

I have my pension tracked for 2004
Now I wish to copy all the formatting and formulas to a new worksheet for
2005
I no how to just copy, but the formatting doesn't follow and I will have to
clear all the data info.

So can I tell it to copy the 2004 worksheet to a NEW worksheet named 2005
and retain the column size, formatting, and formulas etc.


Please and thank you.




All times are GMT +1. The time now is 06:19 AM.

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