Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to create a List Box with Macro

Hi,

I want to create a ListBox using macro and assign a column to spread values in listbox.

Thanks,

Chris

Labels (1)
1 Reply
giakoum
Partner - Master II
Partner - Master II

sub CreateListBox

set vListBox = ActiveDocument.Sheets("Main").CreateListBox

set vProperties = vListBox.GetProperties

vProperties.Def.Name = "F2"

vListBox.SetProperties vProperties

set vProperties = nothing

set vListBox = nothing

end sub