make formulas from relative to absolute
Look at Application.convertFormula
from the immediate window:
? application.ConvertFormula("=A1:F1",xlA1,xlA1,xlAb solute)
=$A$1:$F$1
--
Regards,
Tom Ogilvy
"Barmaley" wrote in message
...
A coworker has puzzled me with request.
He wants to create formula on Second sheet, then fill formula (to save
retyping), then he wants to convert relative formulas to absolute
formulas,
so he can move them around without loosing values.
Is there a code I can run (ex. For Each Cell in Selection) that can
convert
formulas to have absolute references
Or may be there is easier way just select and do some command I don't know
about
Your help is appretiated
AvP
|