PDA

View Full Version : Centering answer in Msgbox?



YellowLabPro
03-11-2007, 05:27 AM
Is it possible to center the answer in the Msgbox?


Sub Lesson_Test()
'Pg 16, 3/11/07
Dim Sum As Long
Sum = 1 + 1
MsgBox """The Answer is""" & Chr(10) & Sum

End Sub

mdmackillop
03-11-2007, 05:32 AM
Not in a standard message box. There are some customisable third party ones, but I've never used them. You can create a userform to display your results if presentation is important.