I have been given a spreadsheet with an ActiveX control button to execute a complex macro that I can't see the VBA code for because it is password protected. I need to loop through 1000 input values using the ActiveX button. Is there a way to code the part where I click the button in VBA or R?
Here's what I would like to achieve:
- Set input cell values on SheetA
- Push a button labeled "RunSimulation" located on SheetA
- Copy output values on SheetB to a separate table
- Repeat
I need help with step 2.