Complete the code to run a macro named "MyMacro" using VBA.
Sub RunMacro()
[1] MyMacro
End SubIn VBA, you use Call to run a macro by its name.
Complete the code to run a macro named "FormatSheet" using Application.Run.
Sub RunFormatMacro()
Application.[1] "FormatSheet"
End SubThe Application.Run method runs a macro by its name as a string.
Fix the error in the code to run a macro named "DataClean".
Sub RunDataClean()
Application.Run[1] "DataClean"
End SubThe Application.Run method requires parentheses around the macro name string.
Fill both blanks to run a macro named "UpdateReport" with one argument "2024".
Sub RunUpdateReport()
Application.[1] ("UpdateReport", [2])
End SubUse Application.Run with parentheses and pass the macro name as a string and the argument also as a string.
Fill all three blanks to run a macro named "ProcessData" with two arguments: a worksheet and a number.
Sub RunProcessData()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("Sheet1")
Application.[1] ("ProcessData", [2], [3])
End SubUse Application.Run with the macro name string and pass the worksheet object and number as arguments.