Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I get a msgbox to have to text stacked instead of in a line?
for example have 'costid = "" linkno = "" in the msgbox instead of cost id = "" linkno = "" Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try:
Dim msg as string msg = "costid = " & vbCrLf msg = msg & "linkno = " msgbox msg -- Karen53 "ranswert" wrote: How do I get a msgbox to have to text stacked instead of in a line? for example have 'costid = "" linkno = "" in the msgbox instead of cost id = "" linkno = "" Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
msgbox "Costid = " & somevariable & vblf & "LinkNo = " & someothervariable
If you're using a Mac, change that vblf to vbNewLine. (actually vbNewLine will work on either wintel or macs.) ranswert wrote: How do I get a msgbox to have to text stacked instead of in a line? for example have 'costid = "" linkno = "" in the msgbox instead of cost id = "" linkno = "" Thanks -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
msgbox (" item1" & vbnewline & "item1") you can also use vblf o regards FSt1 "ranswert" wrote: How do I get a msgbox to have to text stacked instead of in a line? for example have 'costid = "" linkno = "" in the msgbox instead of cost id = "" linkno = "" Thanks |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks I'll give those a try
"ranswert" wrote: How do I get a msgbox to have to text stacked instead of in a line? for example have 'costid = "" linkno = "" in the msgbox instead of cost id = "" linkno = "" Thanks |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
MsgBox "cost id = """"" & vbLf & "linkno = """""
Gord Dibben MS Excel MVP On Fri, 15 Feb 2008 13:14:00 -0800, ranswert wrote: How do I get a msgbox to have to text stacked instead of in a line? for example have 'costid = "" linkno = "" in the msgbox instead of cost id = "" linkno = "" Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
msgbox | Excel Programming | |||
help with Msgbox | Excel Programming | |||
help with msgbox | Excel Programming | |||
Msgbox | Excel Programming | |||
MsgBox | Excel Programming |