have created this macro that allows the user to select scenario numbers using an InputBox and now I'm trying to run the scenarios and record some sort of results. This is very useful for cases that I might want to run +50 scenarios at the time. Scenario numbers trigger OFFSETs in my input sheet where it analyzes results. This works perfectly in break mode but when I actually run the macro as a "user" it just works for the first scenario and not the rest
Sub sbScenarioAnalysis()
Sheets("results").Select
Range("J24").Select
Do While ActiveCell.Value <> Empty
    Range("ScenarioNumber").Value = ActiveCell.Value
      Application.Calculate
        If Not Application.CalculationState = xlDone Then
        ActiveCell.Offset(1, 0) = Range("TL")
        ActiveCell.Offset(2, 0) = Range("ML")
        End If
    ActiveCell.Offset(0, 1).Select
Loop
End Sub
 
    