J JE McGimpsey Mar 5, 2004 #2 AFAIK, the only way is to add spaces to the beginning of the prompt. You'll have to tweak the values: MsgBox "Hello" MsgBox String(40, " ") & "Hello"
AFAIK, the only way is to add spaces to the beginning of the prompt. You'll have to tweak the values: MsgBox "Hello" MsgBox String(40, " ") & "Hello"
S Shatin Mar 5, 2004 #5 or MsgBox Space(40) & "Hello" Oops, just tried it and it would in fact make the text string right justified. Should be something like: MsgBox Space(20) & "Hello" & Space(20)
or MsgBox Space(40) & "Hello" Oops, just tried it and it would in fact make the text string right justified. Should be something like: MsgBox Space(20) & "Hello" & Space(20)
B Bill Oertell Mar 6, 2004 #6 Thanks. At least that's better than experimenting with: MsgBox(" Hello")