Hiya Jim ---
This works:
cMsg1="Hi there I'm a centered"
cMsg2="Two line message!"
nMsg1Len=LEN(cMsg1)
nMsg2Len=LEN(cMsg2)
nRefLen=MAX(nMsg1Len,nMsg2Len)
cMsg1=PADL(cMsg1,nMsg1Len+((nRefLen-nMsg1Len)*.5),CHR(32))
cMsg2=PADL(cMsg2,nMsg2Len+((nRefLen-nMsg2Len)*.5),CHR(32))
=MESSAGEBOX(cMsg1+CHR(13)+cMsg2,20,"Title")
>Does anyone know how to have two lines displayed on a message box?
>
>Example: line 1 *******************
> line 2 *******************
>
>This is the current code that I have:
>MESSAGEBOX("You have to enter a quote number"+chr(13)+"Do you want to continue?",20,gcAppName)
>
>Thanks
>
>Jim
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05