Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
venkatasubramanian
Contributor II
Contributor II

Mutiple selection in Getfield funtion

Hi There

I need to select multiple days in the object, so i tired using the below syntax, but its not working. this code selects only the first value.

ActiveDocument.GetField("My field name").Select (6, 7,8)

Please advise.

Labels (1)
1 Solution

Accepted Solutions
m_woolf
Master II
Master II

Try:

ActiveDocument.Fields("Your Field name").Select "(6|7|8)"

Why do this with a macro? You can use an action instead.

View solution in original post

2 Replies
m_woolf
Master II
Master II

Try:

ActiveDocument.Fields("Your Field name").Select "(6|7|8)"

Why do this with a macro? You can use an action instead.

venkatasubramanian
Contributor II
Contributor II
Author

Thank you for your quick response.

I am trying to automate my entire process with the macro so i need this. Thank you