You may have to reenter some of your number constants as formulas,
or lose them. You can check what you have by
selecting all cells then using Edit, GoTo, and selecting
contants or formulas the items under formulas apply the
whichever of constants or formulas that you chose.
Now that I see Bernie's reply, and your reply to his would
modify it be Edit, GoTo, Special, (check) Constants, and
(check) Numbers -- don't check text nor the others
You would make a copy of the workbook and then run
a macro against all of the sheets to remove constants.
This could result in all of your formulas showing errors.
An example of removing formulas can be seen in
http://www.mvps.org/dmcritchie/excel/proper.htm#text
kind of the opposite of what you want.
You can go through the sheets with a macro, but this will
show you how to create a new sheet without numeric constants. (untested)
Sub RemoveNumberConstants()
'modified 2004-01-27 from
'Sub AllCellsToText()
'D.McRitchie, posted 2003-01-17 worksheet.functions
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Dim cell As Range
Sheets(ActiveSheet.Name).Copy Before:=Sheets(ActiveSheet.Name)
On Error Resume Next 'In case no such cells in selection
For Each cell In Cells.SpecialCells(xlConstants, xlNumbers)
cell.formula = "" ' -- clear content
Next cell
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub
For information on installing/using macros see my getstarted.htm webpage.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages:
http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page:
http://www.mvps.org/dmcritchie/excel/search.htm
HANKYPANK said:
How can I copy a workbook that has formulas without copying the info in the cells?
I want to retain the formulas in the cells of the new workbook, but want to delete the data in the cells, so I have a blank
workbook, but still have the formulas for the cells.