add "line" in a message box

  • Thread starter Thread starter Mark J Kubicki
  • Start date Start date
M

Mark J Kubicki

how would i add a horizontal "line" into a message box; (it would greatly
help the clarity of the text)

thanks in advance
mark
 
Mark,
To the normal MsgBox function, you cannot add a graphical feature. A line of
underscores may suit you "_":

MsgBox "First line of text." & vbNewLine & String$(50, "_") & vbNewLine &
"Second line of text"

If you need more control a userform may be the way to go.

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top