View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gunnar Johansson Gunnar Johansson is offline
external usenet poster
 
Posts: 47
Default Transfere a workbook's all cell's formulas and references to VBA "fingerprint library" ?

Hi

(Can you create code with code within VBA, by the way...?)

If you have formulas and links in several worksheets - is there a way - by
code or software - to "convert them to vba" to a kind of "library", a
fingerprint of all formulas mainly to be able to restore the formulas if you
want and when you need. The best is if it create a Sub with a list of all
formulas and their cell references as "library".

I mean if you in cell A1 has = B1 * C1 it should create a sub that give
like:
....
Worksheet1.Range("A1").Cell.Value = "=B1*C1"
....

....or something like that for each cell in the workbook.

I'm not asking "how to program cell formulas in vba, I ask for a routine to
get all links and formulas (values is not of interest) in the workbook.


/Kind regards