Originally Posted by
CazorDK
Hi - just uploaded the workbook.
Don't mind the button "Indtægter" and "Rådighedsbeløb" as well as cell A1:C16, they are not part of the problem.
The code is on "Knap 7" button and is
Sub Knap7_Klik()
ActiveSheet.Cells(18, 1).Select
Rows(19).Insert Shift:=xlShiftDown
ActiveCell.Offset(1, 0).Value = "ejendom"
ActiveCell.Offset(1, 1).Value = "tDKK"
ActiveCell.Offset(1, 2).Value = CDbl("10000")
ActiveCell.Offset(1, 2).NumberFormat = "#,###"
End Sub
The first autosum is - without data in cell C20 and works fine when button "Knap 7" is pushed - the problem is the autosum under Liabilties (without new rows cell C25).
Bookmarks