msgbox

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » MsgBox

MsgBox

resolvedResolved · Low Priority · Version 2007

Bryan has attended:
Excel VBA Intro Intermediate course

MsgBox

How can you center the display text on a msgbox

RE: MsgBox

Hi Bryan

Thanks for your question

I have carried out an initial study of this problem and can find no simple solution. I am however sure that I have resolved this issue before, I will therefore make further studies and will respond definitively within the next few days

Regards

Stephen

RE: MsgBox

Thanks Stephen, I shall await your reply.

RE: MsgBox

Hi Bryan

Thanks for your patience

I'm afraid I can find no way to centre the text in the message box in VBA. All the sources I have checked suggest that it is impossible. I will continue looking into it and if I find anything I will follow up.

One possbility would be to add some blank spaces either side of the message. This is a bit cluncky but should work

Regards

Stephen

RE: MsgBox

Many thanks Stephen, ill pad it out as you suggested.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Applying and removing border from cell in Excel 2010

Did you know the shortcut key for applying and removing the outline border for a cell?

CTRL+SHIFT+& Applies the outline border to the selected cells.
CTRL+SHIFT_ Removes the outline border from the selected cells.

View all Excel hints and tips


Server loaded in 0.07 secs.