
Originally Posted by
Carim
Hi,
Just type your formula in cell A1 ...
and then run your macro ...
HTH
Carim

or alter the code to reflect the range where your formulas are kept
very good code mallycat, i had looked at this post earlier and ran away screaming, as I had no idea.
made a very small modification and added it to my personal.xls as
Sub ConvertAbsolute()
Dim InputFormula As String
Dim newFormula As String
Dim ActRange As Range
Set ActRange = Selection
For Each Cell In ActRange
InputFormula = Cell.Formula
newFormula = Application.ConvertFormula(Formula:=InputFormula, fromReferenceStyle:=xlA1, toReferenceStyle:=xlA1, toabsolute:=xlAbsolute)
Cell.Formula = newFormula
Next Cell
End Sub
this just allows you to highlight the range you want converted, then run macro to change to absolute.
Bookmarks