Hi,
I have an issue with a VBA code.
I have a table with a column which contains the formula.
In the next step I need to replace the formula with the value.
The code so far is:
Sub Zeilennummer_2()
'
' Makro1 Makro
'
'
Selection.ShowDetail = True
Columns("B:B").Select
Selection.Insert Shift:=xlToRight
Range("B2").Select
ActiveCell.FormulaR1C1 = "=ROW()-1"
Columns("B:B").Select
Selection.Cut
Columns("A:A").Select
Selection.Insert Shift:=xlToRight
Range("A1").Select
ActiveCell.FormulaR1C1 = "Rechnungsnummer"
End Sub
How can I replace "=ROW()-1" with the value?
Thanks
Alexander
Bookmarks