Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to name a Macro for use in Trigger

I am a Macro/Vbscripting newbie. Please see the image below. How to name this vbscript so that I can attach it with a button. The idea is to display "The sum is 3" when you hit the button.

Thanks

vbscripting.PNG

1 Solution

Accepted Solutions
jer_2011
Creator II
Creator II

hola

te paso el script y la aplicación de ejemplo:

sub test()

dim X

x= 1

dim y

y = 2

dim z

z = x + y

msgbox("the sum is " & z )


end sub

View solution in original post

3 Replies
Anonymous
Not applicable
Author

sub MyMacro

<macro text>

end sub

And, use MyMacro in action

fkeuroglian
Partner - Master
Partner - Master

sub NameofMacro

............

............

end sub

then you will have to call the macro putting NameofMacro and that is!

Good LucK

Fernando

jer_2011
Creator II
Creator II

hola

te paso el script y la aplicación de ejemplo:

sub test()

dim X

x= 1

dim y

y = 2

dim z

z = x + y

msgbox("the sum is " & z )


end sub