title: VBA Code to auto-click OK in Excel
body: <p>I have made an Excel macro that gives results using solver. After the result is generated it displays a dialogue box to accept the result. As I have 50 solver results in the macro, I have to click OK 50 times.</p>
  
  <p>Is there some tweak in VBA that can be done to automatically click OK or press enter?</p>