excel - VBA: Textbox new/next line -


i need textbox. textbox content being fed cell value. construction of cell value goes this: "(date comments)" , happens progressively, can have multiple entries that.

basically want textbox display each value single line in textbox in user form make them appear bullet list.

is possible? i'm thinking of detecting each closing parenthesis sign ")" make go next line? cannot put finger on how code it.

set multiline property of textbox = true

and may have set scrollbars property 2-frmscrollbarsvertical

then separate values vbcrlf

"somecomment" & vbcrlf & "somecomment" & vbcrlf & "somecomment" 

these options newlines depending on doing.

constant    equivalent          description vbcrlf      chr(13) + chr(10)   carriage return–linefeed combination vbcr        chr(13)             carriage return character vblf        chr(10)             linefeed character vbnewline   chr(13) + chr(10)    or, on macintosh, chr(13)  platform-specific new line character; whichever appropriate current platform 

Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -