nutze ich den For Loop mit einem Counter. Folgende Frage: Wie kann ich die Schrittgröße des Counters von 1 auf 0.001 verkleinern?
Sub Optimisation()
Dim Counter_Factor_Amz As Integer
Dim Counter_Factor_Mwst As Integer
Range("Factor_amz").Value = Range("Min_Amz")
Range("Factor_Mwst").Value = Range("Min_Mwst")
Range("Mindestpreis").Value = 0
For Counter_Factor_Amz = Range("Min_Amz").Value To Range("Max_Amz").Value Step 0.1
Range("Factor_amz").Value = Counter_Factor_Amz
For Counter_Factor_Mwst = Range("Min_Mwst").Value To Range("Max_Mwst").Value Step 0.1
Range("Factor_Mwst").Value = Counter_Factor_Mwst
If Range("Mindestpreis").Value = Range("Sellerlogic_Mindestpreis").Value Then
Range("Sellerlogic_Amz").Value = Counter_Factor_Amz
Range("Sellerlogic_Mwst").Value = Counter_Factor_Mwst
Range("Mindestpreis") = Range("Sellerlogic_Mindestpreis").Value
End If
Counter_Factor_Mwst = Counter_Factor_Mwst + 0.01
Next Counter_Factor_Mwst
Next Counter_Factor_Amz
Freue mich auf Eure Antworten!
Vielen Dank, J