Hi Norbert,
Am Wed, 24 Aug 2022 17:02:46 +0200 schrieb Norbert:
> is it somehow possible to change formulas for a huge array of cells from
> relative to absolute reference?
try:
Sub Convert_Formula()
Dim myRng As Range
Dim i As Long
Set myRng = ActiveSheet.UsedRange.SpecialCells(Type:=xlFormulas)
For i = 1 To myRng.Areas.Count
myRng.Areas(i).Formula = _
Application.ConvertFormula _
(Formula:=myRng.Areas(i).Formula, _
FromReferenceStyle:=xlA1, _
ToReferenceStyle:=xlA1, ToAbsolute:=xlAbsolute)
Next
End Sub
Regards
Claus B.
--
Windows10
Microsoft 365 for business