Format of a msgbox

  • Thread starter Thread starter scottwilsonx
  • Start date Start date
S

scottwilsonx

Hi everyone,

I have a number of msgboxes throughout my spreadsheet.
My problem is this: several of the msgboxes contain long lists o
names, which currently rap across lines and although separated b
commas they are very unreadible.

Is there a method to format the msgbox so that certain names can b
shown below each other to make it easier to read.

Thank you in advance.
Scott
 
scottwilsonx,

This may not be what you want but it does what I want.




MsgBox "Phone Nr.For Store: " & vbCrLf & .ListBox2.Text _
& vbCrLf & "Address: " & ActiveCell.Offset(0, 2).Tex
_
& vbCrLf & "City : " & ActiveCell.Offset(0, 3).Text _
& ", " & ActiveCell.Offset(0, 4).Text _
& vbCrLf & "Is: " & ActiveCell.Offset(0, 5).Text _
& vbCrLf & "Hours : " & " " & ActiveCell.Offset(0
7).Text _
& " " & ActiveCell.Offset(0, 8).Text & vbCrLf & _
"Sat Hours : " & ActiveCell.Offset(0, 9).Text & " " _
& ActiveCell.Offset(0, 10).Text & vbCrLf _
& "Sun Hours : " & ActiveCell.Offset(0, 11).Text _
& " " & ActiveCell.Offset(0, 12).Text & vbCrLf _
& "DSM : " & ActiveCell.Offset(0, 13).Text
vbCrLf _
& "RSM : " & ActiveCell.Offset(0, 14).Text

Charle
 

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