ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Copy Excel worksheets (https://www.excelbanter.com/excel-discussion-misc-queries/2569-copy-excel-worksheets.html)

TedDSC

Copy Excel worksheets
 
When copying an Excel worksheet from one spreadsheet to another, how does one
copy only formulas and no values ? Using the copy, paste special/formulas
always includes the values.

Peo Sjoblom

You can't copy only formulas with them not returning what they refer to. If
you mean that you don't want the formulas to refer to the sheet where they
were copied from (if you have =A1 in sheet1 and you want to copy that but
don't want to get =Sheet1!A1) , do an editreplace, then replace = with let's
say r=, now select the whole sheet and copy, paste intoa new sheet. reverse
the replace with find r=
replace with = in both sheets


Regards,

Peo Sjoblom

"TedDSC" wrote:

When copying an Excel worksheet from one spreadsheet to another, how does one
copy only formulas and no values ? Using the copy, paste special/formulas
always includes the values.


Jay

When copying an Excel worksheet from one spreadsheet to another, how
does one copy only formulas and no values ? Using the copy, paste
special/formulas always includes the values.


Maybe a two-step process will meet your need.

1. Do an ordinary copy/paste, getting both values and formulas.

2. Get rid of the values by doing:
Edit Go to Special Constants
Hit the Delete key


All times are GMT +1. The time now is 12:03 AM.

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