Here I need to make a particular row bold. The index of row is passed as a variable named totRange.
i.e
Sub CalcBold()
Rows(“17:17”).Select
Selection.Font.Bold = True
End Sub
instead of 17th row, I need to pass variable totRange.
@rifnanahas In the entry paramters of invoke vba activity, give the variable names that you need inside the macro in this format
{variable1,variable2}
And in the macro, receive these variables in the same sequence
eg) Sub getmacrovar(variable1 As string, variable2 As string)
This will take your uipath variable sinside macro .Hope this answers your question