View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Vasant Nanavati Vasant Nanavati is offline
external usenet poster
 
Posts: 1,080
Default VBA msgbox function

MsgBox "First line" & vbNewLine & "Second line"

--

Vasant


"LesLdh" wrote in message
...
I want to have a msgbox prompt that has two lines of text, eg:

MsgBox("This is the first line
this is the second line")

I understand that I have to use a carriage return character, but can't

seem
to get the syntax right. Can anybody help?

Les.