You cannot format or pre-set cells with absolute references.
You can run a macro on your formulas after you have entered them is about all
you get.
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)
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)
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)
Next
End Sub
I have these as option buttons on a UserForm.
Accessed through my cells' right-click menu.
Gord Dibben MS Excel MVP
>Roger
>Thank you for the reply.
[quoted text clipped - 22 lines]
>> > How to get reference cells to be absolute values by formating, or set with
>> > shortcut key, or set with main menu pick ?
akm - 09 May 2008 00:25 GMT
Gord
Thank you for the info !
Am not very experienced with macros, but will give it a try.
Thanks again.
akm
> You cannot format or pre-set cells with absolute references.
>
[quoted text clipped - 70 lines]
> >> > How to get reference cells to be absolute values by formating, or set with
> >> > shortcut key, or set with main menu pick ?