Skip to main content

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.

 

Can anyone recommend for solve it?

 

Thank you


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

 


Reply