• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA to run multiple macros

pao13

Member
Hi. I'm attaching my workbook. I have recorded a macro (macro1) that performs certain tasks. What I want to do now with a macro is: To change automatically with a macro the cell Q1 in "events exp up to 2 months" from 10% to 1% in increments of 1% (so 10%,9%, etc) and each time it changes, to run the macro1.
For example when I write 10% to run the macro1. After this macro finishes to write automatically 9% and run the macro1 automatically etc. up to 1%.

Hopefully you understand what I'm trying to do!
 

Attachments

  • RSX NEW.xlsm
    496.1 KB · Views: 0
How's this?
Code:
Sub MultiRun()
Dim i As Integer

For i = 10 To 1 Step -1
    Worksheets("events exp up to 2 months").Range("Q1").Value = i / 100
    Call macro1
Next i

End Sub
 
Back
Top