combobox (need a new line)

S

snow

this is a beginners question from me :)

im making a combobox and in its list there are some sentences.
i'm not finished with typing my list [ ComboBox1.List() = Array("... ]
but i'm at the end of the line.
how can i continue writing my list on a new line ??

thanks
 
P

Perry

Hi snow,

Use the line continuation mark _ (the underscore)
to break a code line

Examples:

MsgBox "This is my firstline " & _
"these words still on same line..."

or

ComboBox1.List = Array("First", "Second", _
"Third", "Fourth", "Fifth", _
"The rest")

Krgrds,
Perry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top