View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
[email protected] rleavitt@smithgroupre.com is offline
external usenet poster
 
Posts: 12
Default Is Multi line possible with MsgBox

On Sep 5, 4:32 pm, Ayo wrote:
Is it possible to have this in multiple lines, instead of just one single line?

MsgBox "An Error as occurred in the Save file to folder. This Macro will now
TERMINATED"


The string chr(13) will provide a carriage return. For example

MsgBox "An Error as occurred in the Save file to folder." & chr(13) &
"This Macro will now
TERMINATED"