Re: newline in a msgbox
- From: "Tom Ogilvy" <twogilvy@xxxxxxx>
- Date: Mon, 9 May 2005 15:45:17 -0400
MsgBox "The categorical total for SUPPLIES is: " & _
vbNewLine & cat & vbNewline & _
" Have a great day!", vbOKOnly, "Category Total for SUPPLIES"
Other constants that will work in Windows
vbCrLf
vbCr
vbLf
But vbNewLine is better for compatibility with the Mac.
--
Regards,
Tom Ogilvy
"greenjellystar" <greenjellystar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D9739BC4-A627-4E6B-BF14-9121AC70D1ED@xxxxxxxxxxxxxxxx
> hello...i can't get my msgbox to display multiple lines...can someone help
me
> with this...my code is below...
>
> Worksheets("Sup 31xx").Range("M13").Formula = "='Sup 31xx'!$L$10+'Sup
> 32xx'!$L$10+'Sup 39xx'!$L$10+'Sup 4xxx'!$L$10"
> Dim cat
> cat = Worksheets("Sup 31xx").Range("M13")
> MsgBox "The categorical total for SUPPLIES is: " & cat & " Have a
great
> day!", vbOKOnly, "Category Total for SUPPLIES"
>
> thanks and have a great one, jessie :)
>
>
.
- References:
- newline in a msgbox
- From: greenjellystar
- newline in a msgbox
- Prev by Date: Re: Filename as Data
- Next by Date: Re: SQL statement in VBA
- Previous by thread: RE: newline in a msgbox
- Next by thread: Re: newline in a msgbox
- Index(es):