How to return result in variable from macro to kryon?

  • 15 March 2023
  • 2 replies

Badge +2

Hello, I have question about DAC

I use DAC Run macro.


I want return TstHiFunc from macro to kryon (code as below)

But I set the macro function return result in variable = TstHiFunc -→ It show blank.


value that expect = Helllo


Sub Test_Hi_Function()

Dim TstHiFunc As String
TstHiFunc = "Helllo"

End Sub


Please guide me for solve it.


2 replies

Badge +2
Can anyone recommend for solve it?


Thank you

Userlevel 3
Badge +10

Doing a quick google makes it seem like you need to use a function, not a subroutine.  This seems to work for me: