PC Review


Reply
Thread Tools Rate Thread

Change the MsgBox Title

 
 
magicdds-
Guest
Posts: n/a
 
      18th Apr 2008
When a user types in data in a form which is inappropriate, The Before Update
property has code to check the entry, and if it is not appropriate, I use
MsgBox to tell the user to re-enter the data.

The popup MsgBox has a Title "Microsoft Office Access".
Is there a way to change the title or leave it blank?

Thanks

 
Reply With Quote
 
 
 
 
Jeanette Cunningham
Guest
Posts: n/a
 
      18th Apr 2008
Msgbox "Please re-enter the data", vbInformation, "Invalid entry"

The above will show the message box with a title of Invalid entry.
It will also show a button with and i on it.

The Msgbox statement has 3 arguments,
1. the prompt or message
2. the buttons to show
3. the title

If you leave the title argument blank, the title is Microsoft Office Access.

Jeanette Cunningham



"magicdds-" <(E-Mail Removed)> wrote in message
news:AF22CAAE-91D7-4AF3-8923-(E-Mail Removed)...
> When a user types in data in a form which is inappropriate, The Before
> Update
> property has code to check the entry, and if it is not appropriate, I use
> MsgBox to tell the user to re-enter the data.
>
> The popup MsgBox has a Title "Microsoft Office Access".
> Is there a way to change the title or leave it blank?
>
> Thanks
>



 
Reply With Quote
 
Rob Parker
Guest
Posts: n/a
 
      18th Apr 2008
The third parameter of the MsgBox method is the title string:

MsgBox "My message", [button/icon constants], "My Title"

See help for the built-in constants/values for the optional [button/icon
constants] section.

HTH,

Rob

"magicdds-" <(E-Mail Removed)> wrote in message
news:AF22CAAE-91D7-4AF3-8923-(E-Mail Removed)...
> When a user types in data in a form which is inappropriate, The Before
> Update
> property has code to check the entry, and if it is not appropriate, I use
> MsgBox to tell the user to re-enter the data.
>
> The popup MsgBox has a Title "Microsoft Office Access".
> Is there a way to change the title or leave it blank?
>
> Thanks
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Change the default Microsoft PowerPoint text in MsgBox title b David M. Marcovitz Microsoft Powerpoint 0 5th Dec 2006 08:26 PM
Re: Change the default Microsoft PowerPoint text in MsgBox title bars. David M. Marcovitz Microsoft Powerpoint 0 5th Dec 2006 07:45 PM
Msgbox Title =?Utf-8?B?VG9t?= Microsoft Access VBA Modules 3 29th Jul 2006 05:47 PM
MsgBox - 1) custom text in title bar? - 2) icon change? StargateFanFromWork Microsoft Excel Discussion 4 5th May 2005 06:07 PM
change title bar of msgbox alex Microsoft Access VBA Modules 3 23rd Jan 2004 01:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:44 PM.