Could somebody give me a sample how to use Execute Macro with output parameter?

Hi all expert,

Does anybody have a example how to use Execute macro with “Macro output” option? I think that is a variable to get returned object from RPA process, but I’m not quite sure how to use that. So if anybody have sample of it, please kindly provide me.

Thanks in advance,

J,

hi @Jumbo

Check the below post

Thanks
Ashwin S

Hi @AshwinS2

I think the post explains how to use Execute macro activity but its not about using “Macro output” option…

If I misunderstanding something, please point it out.
Rgds,
J,

hi,

pls try below,

thanks,
karthik

Hello There,

Create the macro Function instead of Sub, cause Sub will not return but function does

Function Proc(Optional sParam1 As String)
Proc = "Hello " & sParam1 & “!”
End Function

Assign to a variable in Macro output and message box it

image