![]() |
msgbox
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 |
msgbox
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 |
msgbox
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 |
msgbox
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 |
msgbox
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 |
msgbox
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 |
All times are GMT +1. The time now is 12:43 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com