Hallo Ihr Lieben,
ich moechte, zur Berechnung des Zinseszins in einer Tabelle, ein Makro 11-mal wiederholen lassen, bin aber leider nicht in der Lage, es zu stoppen. Kann mir da jemand helfen? Hier das Makro:
Sub Zinseszins()
’
’ Zinseszins Macro
Selection.Copy
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.PasteSpecial Link:=False, DataType:=wdPasteText, Placement:= _
wdFloatOverText, DisplayAsIcon:=False
Selection.MoveRight Unit:=wdCell
Selection.InsertFormula Formula:=„=SUM(LEFT)*0,07/12“, NumberFormat:= _
„#.##0,00“
Selection.MoveRight Unit:=wdCell
Selection.InsertFormula Formula:=„=SUM(LEFT)“, NumberFormat:=„#.##0,00“
Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend
’ Application.Run MacroName:=„Zinseszins“
End Sub