ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   wrapping text in a pop-up box - MsgBox (https://www.excelbanter.com/excel-programming/320658-wrapping-text-pop-up-box-msgbox.html)

Abi

wrapping text in a pop-up box - MsgBox
 
Hi, I'm creating some pop-up boxes right now. I don't know much at all about
VB (just learning). As I'm typing my message in the VB editor, it just keeps
moving more and more to the right. Can someone tell me how I enter the code
for the pop-up so that it wraps and I don't have to type one long sentence.

I have several paragraphs that need to go in one pop-up, and I want the
paragraphs separated by a space bar.

Thanks for the help!

Bob Phillips[_6_]

wrapping text in a pop-up box - MsgBox
 
Msgbox "This is a message from the con troller" & vbCrLf & _
"with a second line of text" & vbCrLf & _
"and even a third"

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Abi" wrote in message
...
Hi, I'm creating some pop-up boxes right now. I don't know much at all

about
VB (just learning). As I'm typing my message in the VB editor, it just

keeps
moving more and more to the right. Can someone tell me how I enter the

code
for the pop-up so that it wraps and I don't have to type one long

sentence.

I have several paragraphs that need to go in one pop-up, and I want the
paragraphs separated by a space bar.

Thanks for the help!




Abi

wrapping text in a pop-up box - MsgBox
 
Thanks! Once I got all the spacing typed in correct, it worked perfectly.
Thanks for the help!

"Bob Phillips" wrote:

Msgbox "This is a message from the con troller" & vbCrLf & _
"with a second line of text" & vbCrLf & _
"and even a third"

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Abi" wrote in message
...
Hi, I'm creating some pop-up boxes right now. I don't know much at all

about
VB (just learning). As I'm typing my message in the VB editor, it just

keeps
moving more and more to the right. Can someone tell me how I enter the

code
for the pop-up so that it wraps and I don't have to type one long

sentence.

I have several paragraphs that need to go in one pop-up, and I want the
paragraphs separated by a space bar.

Thanks for the help!






All times are GMT +1. The time now is 09:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com