View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
ADG ADG is offline
external usenet poster
 
Posts: 76
Default Change row in a Visual Basic messagebox

Hi Stefan

Try inserting a line feed (or CrLf this sometimes gives a square box though)

"A long sentence " & chr(10) & "in just two pieces"

Regards
--
Tony Green


"svai" wrote:

Hi,

How do you change row in a msgbox in Visual Basic?

For instance if you would like to cut a sentence into two rows, so instead
of the msgbox showing:

"A long sentence in just one piece"

It shows

"A long sentence
but in two pieces"

Might be a bit silly question but in the hunt for pedagogy and efficiency...

Thanks
/Stefan