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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Line break / Line feed in Inputbox dialogue

Hi all,

I'm trying to place a line-break, or line feed, in the text of an inputbox and can't seem to get it to work... [:S]

The code I'm using is as follows:


let v_Set_Month = Input('Please enter the month for this set. [ format YYYYMM ]', 'Set month');


This is how I'd like the text to look like:

Please enter the month for this set

[ format YYYYMM ]

Now, I've tried entering the VB Code " & vbCrLf & " which, obviously did not work.

Also, simply entering the line feed by hitting 'enter' within the text wasn't successful.

The latter option resulted in an inputbox where only the first part of the sentence was visible [8-)]

Anyone any ideas?!?

Thanks!

Alex.

2 Replies
Not applicable
Author

try with:

v_Set_Month = Inputbox("Please enter the month for this set." & vbcrlf & "[ format YYYYMM ]","Set month")

hope this help

Anonymous
Not applicable
Author

Are there any other suggestions on this? I have the same need to insert a line break into text in a legend.?