Skip to main content

New Line in Message Box

  • July 24, 2015
  • 1 reply
  • 1 view

Hi! I'm pretty new to Microfocus VB. I'm trying to create a new line in a message box display.  Does anyone know how I can do that? 

I'm looking for something like the <br> command in HTML.

Any help would be greatly appreciated


#Macro
#development
#Rumba
#newline
#messagebox
#macros
#question
#ExcelorVBACode

1 reply

André Escudero

Hi! I'm pretty new to Microfocus VB. I'm trying to create a new line in a message box display.  Does anyone know how I can do that? 

I'm looking for something like the <br> command in HTML.

Any help would be greatly appreciated


#Macro
#development
#Rumba
#newline
#messagebox
#macros
#question
#ExcelorVBACode

try

MsgBox "Line 1" &Chr(10) &"Line 2"

regards

-andre