Excel worksheet functions

G

Gord Dibben

Joe

Only through VBA macro.

Sub Absolute()
Dim cell As Range
For Each cell In Selection
If cell.HasFormula Then
cell.Formula = Application.ConvertFormula _
(cell.Formula, xlA1, xlA1, xlAbsolute)

'line above can be altered for varying references as below
'(cell.Formula, xlA1, xlA1, xlAbsRowRelColumn)
'(cell.Formula, xlA1, xlA1, xlRelRowAbsColumn)
'(cell.Formula, xlA1, xlA1, xlRelative)

End If
Next
End Sub

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top