+ Reply to Thread
Results 1 to 4 of 4

MsgBox-center the message on a msgbox

  1. #1
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 2019
    Posts
    346

    MsgBox-center the message on a msgbox

    Hi

    I am looking for MsgBox features, controls, formatting, whatever you call it, I want to center the message on a msgbox, by default it is always left.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello CobraLAD,

    The best method is create a UserForm to do this. To do what you want with a message box with VBA is insanely complicated. The UserForm allows you an easy way to customize your message interface.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    07-02-2006
    Location
    Brazil
    MS-Off Ver
    2013
    Posts
    23
    Hi CobraLAD... Try this code...

    Please Login or Register  to view this content.
    I use it to centralize the text in msg... (using Visual Basic, not VBA)... Maybe it works !!!

    Marcos
    Last edited by socram_06; 10-10-2007 at 12:14 AM.

  4. #4
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 2019
    Posts
    346
    Thx Leith Ross

    I understand

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1