This code below in a normal VBA module will do it, you can then select the
range you want to convert and run the appropriate Macro.
Make a backup copy of your file and use the copy to do this,
Highlight and copy the code below,
Open your sheet and go Alt and F11 together to open the VBA editor,
Click 'Insert' on the top toolbar > 'Module'
In the new blank window, paste the code in, watch out for text wrap, there
should be eight separate lines of code in each Sub. The text wrap, if any in
the e-mail will be in the line beginning 'Cell.Formula = .......'
Go Alt and F11 again to close the VBA editor,
Save the backup copy of your file,
Highlight the sheet range you want to convert,
Go 'Tools' > 'Macro' > 'Macros', click the appropriate one and click 'Run'
Regards,
Alan.
PS This code isn't mine, I got it from one of the newsgroups a long time ago
but I cant remember who from. Many thanks whoever you were!
Sub Absolute()
Dim Cell As Range
For Each Cell In Selection
If Cell.HasFormula Then
Cell.Formula = Application.ConvertFormula(Cell.Formula, xlA1, xlA1,
xlAbsolute)
End If
Next
End Sub
Sub AbsoluteRow()
Dim Cell As Range
For Each Cell In Selection
If Cell.HasFormula Then
Cell.Formula = Application.ConvertFormula(Cell.Formula, xlA1, xlA1,
xlAbsRowRelColumn)
End If
Next
End Sub
Sub AbsoluteCol()
Dim Cell As Range
For Each Cell In Selection
If Cell.HasFormula Then
Cell.Formula = Application.ConvertFormula(Cell.Formula, xlA1, xlA1,
xlRelRowAbsColumn)
End If
Next
End Sub
Sub Relative()
Dim Cell As Range
For Each Cell In Selection
If Cell.HasFormula Then
Cell.Formula = Application.ConvertFormula(Cell.Formula, xlA1, xlA1,
xlRelative)
End If
Next
End Sub