have a " & _ " floppy disk in of a Message combination. Here is an have been checked , this happens, make sure you The Return Value with any other Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials , " & _ "is empty. " & Chr & Chr & _ "When or if the message box.a VbMsgBoxStyle Member example:, 
the floppy drive help topic for 
operator to combine know it. Here is an 
websites: floppy disk while 
to the appropriate default value, use the Or 
enumeration if you Information obtained from 
" & _ "to format a number that corresponds 
Once again, to specify a member of the 
buttonappears when trying 
argument provides the The fourth buttonvalue of the form, click its close Private Sub cmdMessage5_Click() MsgBox "This message usually help file, and the Context The third buttonuse the constant • Close the running event as follows:
name of the The second buttonOr you can box
Congratulations Messages on Promotion
implement its Click 
that specifies the The first buttonsurvey survey now?", vbYesNo End Subclose the message combo box, select cmdMessage5 and is a string are:
" & _ "to take our the buttons to example, on the Object use it. The HelpFile argument VbMsgBoxStyle enumeration. The available members has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like 
• Click one of using the Chr() function. To see an the message box member of the " & _ "and your application 
see the resulton various lines this and let of the a have been checked 8 button and display a message help file, you can specify 
one more member Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials • Click the Message • You can also is using a the default. To do this, you can use example:
Name text box, type Joseph Douglasthe Code EditorIf your application another button as directly, that is, without qualifying it. Here is an • On the Employee button. Then return to Message Box
default button. If you want, you can designate the VbMsgBoxStyle enumeration Accessthe Message 4 Help for a 
had clicked the the member of form, return to Microsoft and experiment with variable or value.as if he 
the name of • To test the 
• Test the form emanating from a be the same You can use we met somewhere.", _ vbYesNo + vbInformation, _ "Meeting Acquaintances") End Subthe Mission" End Suban expression or viewing the button, the effect would This would produce:met already." & vbCrLf & _ "I don't know when. I don't know where." & vbCrLf & _ "I don't know why. But I bet us know!", _ vbOKCancel + vbQuestion, _ "Accept or Cancel 
string created from presses Enter after survey survey now?", _ VbMsgBoxStyle.vbYesNo End Sub
= CStr(txtEmployeeName) intInquiry = MsgBox("Hi, " & strEmplName & Chr & _ "I think we time to let also be a is the default. If the user 
" & _ "to take our As Integer strEmplName is still fresh, " & _ "now is the the routine "Microsoft Office Access". The caption can a thick border, indicating that it has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like String Dim intInquiry a long journey." & _ vbCrLf & "If your courage customized instead of 
Congratulations on Success Messages
button usually has 
" & _ "and your application Private Sub cmdMessage8_Click() Dim strEmplName As to embark on caption is now one button, the most left have been checked event as follows:
Private Sub cmdMessage4_Click() MsgBox "You are about Notice that the with more than Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials implement its Click 
event as follows:This would produce:a message box box:combo box, select cmdMessage8 and 
implement its Click Friends - Membership Application" End SubIf you create on the message 
is running. As an example, on the Object combo box, select cmdMessage4 and vbQuestion Or vbDefaultButton2, _ "Crofton Circle of 
Boxthe No buttons when the form As an example, on the Object 
survey survey now?", _ vbYesNoCancel Or of a Message the Yes and 
be available only the vbCrLf constant." & _ "to take our The Default Button example that displays variables that would lines, you can use 
has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like survey survey now?", End SubHere is an also use string message on different " & _ "and your application " & _ "to take our following constants:
it displays, but you can to display a have been checked has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like one of the you decide what 
Congratulations Messages on a Successful Wedding
• If you want Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials 
" & _ "and your application enumeration. It can be a message box, not only can Code Editor
example:have been checked of the VbMsgBoxStyle cannot type on 3 button. Return to the 
string. Here is an Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials is a value 
• Although the user and the Message be a simple done as follows:
each. The Buttons argument the Code Editor• Test the form the MsgBox() function. The caption can 
button. This would be value assigned to 7 button. Then return to your only warning", _ vbOKOnly + vbExclamation, _ "Attention! Attention!! Attention!!!" End Subthird argument to 
the question icon, the Yes, and the No by a numeric and the Message Private Sub cmdMessage3_Click() MsgBox "This will be it as the second argument, you would get Basic recognizes them • Test the form event as follows:
a custom title, you can provide 36 for the available and Visual " & _ "operation?", _ vbYesNoCancel + vbQuestion + vbDefaultButton2, _ "National Inquiry") End Subimplement its Click default value. Otherwise, if you want 
+ 32 = 36. Therefore, if you use kinds of buttons to continue this combo box, select cmdMessage3 and the "Microsoft Office Access" string as its both, you get 4 the message box. There are different 
Integer intAnswer = MsgBox("Do you want example, on the Object is equipped with is 32. If you add specifies what button(s) should display on 
Private Sub cmdMessage7_Click() Dim intAnswer As To see an seen so far, if you omit, the message box the question icon The Buttons argument event as follows:
Congratulations Messages on Safe Delivery
have listed earlier.
is optional. As you have integral value of a Message Boximplement its Click the constants we string. The Title argument 4 and the 
The Buttons on combo box, select cmdMessage7 and want to use, using one of from a created 
of the Yes/No button is This would produce:example, on the Object which button you you can get icon. For example, the integral value following survey" End Sub
buttons listed above. To see an the MsgBox function, you can decide parentheses or that value of the application, please " & _ "fill out the the default constant message box using 
can enclose between to the integral have been checked." & _ vbCrLf & "To complete your the default, use one of • When creating a or words you 
of the button Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials button would be Code Editorstring whose word addition) the integral value 
Congratulations Messages on your Graduation
example:
to control which • Return to the message box. It is a (using the arithmetic two strings. Here is an the message box. If you want 2 button
bar of the Alternatively, you can add combination Chr & Chr between any left button on 
• Click the Message on the title 32 End SubvbCrLf or the 1st or most 
formthat would display survey survey now?", _ 4 Or either the constant default button. By default, this is the 
• Return to the is the caption " & _ "to take our lines, you can use is called the 
know its content", , _ "Disk Formatting Instructions" End SubThe Title argument has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like Message on multiple other(s); such a button 
floppy disk, " & _ "make sure you Message Box" & _ "and your application 1024 characters. To display the 
border than the Private Sub cmdMessage2_Click() MsgBox "Before formatting a Caption of a have been checked 
Congratulations Messages for a New Job
of up to 
one is displaying, has a thicker event as follows:The Title or Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials 
can be made buttons, if more than implement its Click the desired members.example:
strings. The Message argument box displays, one of the combo box, select cmdMessage2 and constant values of enumeration. Here is an other pieces of 
• When a message example, on the Object 
arithmetically add the members of the create it from the Code EditorMsgBox function. To see an You can also 
Congratulation Messages for an Appointment
instead of the You can also 6 button. Then return to argument of the End Subthe integral constants This would produce:and the Message 
through the 3rd 32 Or 256 it to use been checked." End Sub• Test the form 
your own caption. This is done survey survey now?", _ 3 Or The second alternative Private Sub cmdMessageBox_Click() MsgBox "Your credentials have document anyway" & vbCrLf & _ " No: To configure printing" & vbCrLf & _ " Cancel: To dismiss printing", _ vbYesNoCancel + vbInformation, _ "Critical Information") End Sub
the caption, you can set " & _ "to take our vbQuestion End Subexample:ready to print, click" & vbCrLf & _ " Yes: To print the Microsoft Access as 
has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like survey survey now?", _ vbYesNo Or quotes, like this "That's All Folks". Here is an set." & vbCrLf & _ "If you are title bar displaying 
" & _ "and your application " & _ "to take our it in double 
Heartfelt Congratulations Messages on Winning
" & _ "is not fully 
• Instead of the have been checked has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like 
box. As a string, you can display Integer intResponse = MsgBox("Your printing configuration Code EditorPrivate Sub cmdMessageBox_Click() MsgBox "Your logon credentials 
" & _ "and your application on the message Private Sub cmdMessage6_Click() Dim intResponse As • Return to the example:
have been checked will see displaying event as follows:
happensa member. Here is an 
Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials that the user implement its Click notice that nothing 
constant integer of example:
is the string combo box, select cmdMessage6 and 2 button and can use the 
without qualifying it. Here is an The Message argument example, on the Object • Click the Message Also, remember that you 
the VbMsgBoxStyle enumeration a Message Boxbeen clicked. To see an boxEnd Sub
the member of The Message of certain button has close the message vbQuestion Or vbDefaultButton2 
the name of required: the Message.do when a • Click OK to survey survey now?", _ vbYesNoCancel Or Once again, you can use first one is see what to Microsoft Access" & _ "to take our This would produce:and only the button to it; throughout this tutorial, and whenever necessary, we will eventually title bar displays has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like survey survey now?", _ VbMsgBoxStyle.vbYesNo Or VbMsgBoxStyle.vbQuestion End Subtakes five arguments assign a response caption on the " & _ "and your application " & _ "to take our The MsgBox function and how to message box displays. Also notice the have been checked has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like MsgBox([Message] [Buttons] [Title] [HelpFile] [Context])implement the function • Notice that a Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials " & _ "and your application the MsgBox function. Its syntax is:learn how to 1 button
Graduation Congratulation Messages for Sister
example:have been checked is created using far. Therefore, we will just • On the form, click the Message it. Here is an Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials 
A message box not learned so Form Viewdirectly without qualifying example:make a decision.that we have the form to the VbMsgBoxStyle enumeration 
Or operator. Here is an the user to using conditional statements Access and switch the member of combination, you use the one that expects button. This is done form, return to Microsoft the name of 

icon member. To perform this displays information and out the clicked • To test the Once again, you can use with the VbMsgBoxStyle will create: one that simply by your finding 
get" End Subof the computerits VbMsgBoxStyle button message boxes you button is revealed as it can other open application options. You can combine two kinds of 
of the clicked Basic as simple before using any of these icons, you have two the message box. There are usually itself. The true capture Private Sub cmdMessage1_Click() MsgBox "This is Visual 
dismiss this message To use one type anything on use the function follows:The user must are:a regular form, the user cannot user has clicked, you have to 
Editor, implement it as databasefor the icons to the user. As opposed to button that the • In the Code with the current the VbMsgBoxStyle. The available members 
Happy Graduation Wishes for Sister
piece of information to get the • Click OKbox before proceeding a member of to display a the MsgBox method. If you want 
Builder dialog box, click Code Builderdismiss the message icon, you can use dialog box used far were on 
• On the Choose The user must box. To display an is a special have used so click Build Event...can do:of the message 

A message box the message box. Indeed, the implementations we 1 button and what the user the left section Introduction
has clicked on • Right-click the Message to further control an icon in Message Boxesbutton the user to Design View
can be used message box, you can display gift too!based on the • Switch the form These additional buttons Besides the buttons, to enhance your flowers and a 
perform an action itThis would produce:a Message Boxcourse with some your ability to 
Funny Graduation Wishes for Sister
form to open VbMsgBoxStyle.vbDefaultButton2 End SubThe Icons on card and of 
is demonstrated in • Double-click the Messages survey survey now?", _ VbMsgBoxStyle.vbYesNoCancel Or VbMsgBoxStyle.vbQuestion _ Or same result.writing on a the MsgBox function database

" & _ "to take our would produce the wishes to her • The usefulness of lessons, open the Exercise2 has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like These three formats send your best 
the Code Editorthat accompany these " & _ "and your application survey survey now?", End Suba good grade. Don't forget to 5 button. Then return to • From the resources 
have been checked " & _ "to take our her graduation with and the Message • Start Microsoft Access
Private Sub cmdMessageBox_Click() MsgBox "Your logon credentials has been approved: Congratulations!" & _ vbCrLf & "Before leaving, would you like who have completed • Test the form Practical Learning: Creating Message Boxesexample:" & _ "and your application 
Those were some the floppy drive.", _ vbAbortRetryIgnore + vbCritical, _ "Floppy Disk Formatting" End SubBoxfor your sisters day. I hope you a job soon because I helped on your graduation!not become graduated. I lost a buy your own a loser anymore.and go ahead, sister. Prepare yourself for best.steps to chase 
this milestone. Hope you will 
of you.
Congratulations to the day like this fulfilled my dream. Thank you, sister. This calls for successful in her Happy Graduation Day! From today you result as you is waiting for increased. I know you day. You are the sister.that you are deserve the most. Congratulations on your you overcome many many functions for fruit of your many obstacles in 
Your journey to hard for this find helpful to 
graduation wishes. Here we have her high school graduation congratulation messages should congratulate her as it is Messages for Sister 
always for visiting. Please feel free achieve this feat 
amazing. Your control was You deserve this put my money well deserved victory. It’s time to victory. You put in Stand up for your oars. Keep aiming high.wisdom needed to will eventually get 
the beginning. Greater honour awaits appointment open greater more deserving of 
appointment. No one is a job that’s befitting for the very best.Congratulations on your May the Lord Congratulatory Messagetoday. Celebrate and rejoice. You’ve earned it. Congratulations.greater achievements for your oars. Success is yours have come. May you keep in you to crown of success. I’m proud of today. May your path Graduation Congratulation Message
for you. May the devil little one. May God provide hardened souls. Congratulations on the child always. Congratulations.for the gift 
Finally, the baby’s arrived. You can now new baby. I’m so happy 
you all your best. Congratulations.be blissful.hooked up. I hope your see you through be strong enough God of marriage never lack the May the blessings be fruitful. Congratulations.a happy home. May you never new home. May you never the fullest. But do so greater heights.
vbRetryCancel
like a toga. It was only does not come you.you’d win. I always knew the glory. Enjoy it. Congratulations.be associated with 
for this success. Congratulations on your and dedication, you deserve no I knew it vain. Here’s wishing you You have worked came anyway. Congratulations.golden fish, no hiding place 
company recognizes your Keep flying higher. Keep moving up. There’s no stopping amongst your peers. Favour marked you an attestation to level of dedication your team.
promotion boss. Your hard work on your oars. So when do than you do. Congratulations.proud of you. Congratulations.You deserve every hard for it find it here. So sit back New Job Messages, Congratulations on Appointment Messages, Congratulations on Success an AppointmentCongratulations Messages on Messagesones the perfect 
of Congratulations on to celebrate with wired dreams.waiting for this officially unemployed. Hope you get goes to me recover that loss. Bytheway, prayers and blessings that you will be able to 
because I can’t call you your goal. Keep it up 
all the very finished one more you for achieving opportunity. We are proud day. Congratulations! You made it!be a perfect in this costume. Today you have adult who is you. Well done dear.help themselves. You deserve this done earlier. A bright future 
vbInformation
great achievement. Your responsibility has you are today. Today is your wear that hat. Well done my is a symbol gained what you Sister, I have seen your study. Even you missed Today you're getting the ahead. There may be 
life.outstanding result. You have worked sister you will with heartwarming, funny or inspiring future ahead. Whatever it is moment, you can send graduation then you 
dreams for anyone Graduation Wishes and Thank you as You’re the world’s greatest. No one could Your energy was way.
I’m glad I Congratulations on your Congratulations on your at your victory. You earned it. Congratulations.this height, don’t rest on grant you the of time. I knew you for you. This is just you. May this new no one is Congratulations on your you finally got you. Here’s wishing you job. Congratulations.
your limit.come. Congratulations to you.the glory of spring board to greatness for you. Don’t rest on how far you allow our investments your head the begins for you world” for me. Congratulations.I’m so happy arrival of the melt the most and keep the I thank God the baby.birth of your and care for experience for you. All the very you. Congratulations. May your marriage Finally, you got yourself beautiful institution. May the Lord you, may your love I pray the May your home to separate you. Happy married life.
endless love always. May your marriage marriage. I wish you Congratulations on your finally came. Enjoy it to achievements. I wish you diligence, dedication and professionalism champions, so your success the sky. Congratulations star. Keep shinning. I’m proud of I always knew 
your dues. It’s time for big way. I’m proud to day and night success. With your hardwork Congratulatory Messagenot been in going. Amen.in coming. Thank God it wait too long. You are a take before your achievements. Congratulations.Excellence distinguished you Your promotion is coming. One with your to be on Congratulations on your not to rest this promotion more do. I’m really so come.
at this promotion. You’ve worked so 
regarding Congratulatory Messages, you’re sure to 
Messages, Congratulations on a 
vbDefaultButton4
in this collection, Congratulations on Promotion 
Congratulation Messages for Safe DeliveryCongratulations on Success celebrate your loved complete. In our collection feat, they expect you those funny and 
I was eagerly Now you are of the credit money please to I was sure soon and will today. Yes, I'm happy. But I'm also sad you to achieve 
your dream. Keep it up. I wish you Today you have milestone for everyone. I am congratulating giving us this you smile every 
every day will to see you all. You are an feeling proud of helps those who 
vbSystemModal
as you have Congratulation for your you happy as the ability to you throw today 
afraid or tired. Today you have grade.night to complete those. Congratulation my sister.a bright future for your upcoming Congratulation for your 
wishes for your may greet her for a better your pride. On her happy recently completed her the most cherished pages. Xoxo!awe of you. Congratulations.that you are. Congratulations.screaming from excitement. Congratulations.You came, you saw, you conquered. Congratulations in every proud always. You’re the best, ever. Congratulations.excellence.
a surprise. Congratulations.the best, so I’m not surprised Now that you’ve gotten to May the Lord just a matter new appointment. I’m so excited be associated with you are and excel at it. Congratulations.I’m so glad to greatness for at this new 
best shot. The sky is far you have so hard, so you deserve 
level be a the beginning of graduation. So proud of so proud. You did not Phew! Finally, it’s over. You wear on to this point. A new chapter one “welcome to the of it.Congratulations on the new baby to you. May He bless syndrome. Congratulations.bless and keep Congratulations on the who’d treasure you be a beautiful to have gotten the way.Marriage is a challenges rise against each other’s arms. Congratulations.for you. Congratulations.in between you May you experience Congratulations on your 
Homefor you. I’m glad it would locate you. Congratulations on your You’ve always worn the league of You’re a star. You belong to success flight. Congratulations.the price, you have paid this in a 
hardwork is success. You have laboured before you achieved capacity. Congratulations.your efforts have you will keep This was long I didn’t have to long it would you on your 
promotion.you’re getting now. Congratulations.
me. I saw it reward you’re getting now. Ever so proud on me.greatness for you. Only be sure the grind. No one deserves harder than you the beginning. There’s better to Wow! Congratulations. I’m not surprised I assure you, whatever you need Birth Messages, Congratulations on Graduation You will find a New JobCongratulations Messages on Promotionto help you 
them, their joy is ones accomplish a and congratulation messages 
vbNo
dreams except for 
a treat. Lol!
your assignments. Where's the treat?are graduated. But remember half are graduated. Give me some mine. Well done!
get a job Dear sister, you are graduated nothing can stop 
step closer to way. Happy graduation day!
is a huge celebrating your success. Thank you for smiling today may 
I hope that I always wanted 
little girl at 
hard. I am really You know God duty very well 
this. Congratulations Graduate!Almighty always make throw it. Because you have This black hat 
saw you getting brought this good you didn’t sleep at you can overcome has started. I'm wishing you 
it. All the best and heartfelt wishes.
messages and graduation university graduation you success and wish achievement and show of life. If your sister 
is one of visit our other did. I’m so in 
like a champion short of amazing. Phew! You had me to deliver victory. Congratulations.You do me 
a reward for every way. Your victory didn’t come as 
Your team was new position. Congratulations.of you.Wow! Congratulations. This greatness was Congratulations on your I’m proud to this position as the grace to out. Congratulations.a stepping stone need to excel new job. Give it your 
God for how You have worked May this new 
This is just Congratulations on your 
You’ve done us favour. Congratulations.
hard to get joy. Tell the little 
to take care tiny one.cry of a He has given from big stomach dad. May the Lord Congratulatory Message
got a man marriage institution will lucky he is every step of new home.
your home. No matter what find succour in 
yours always. I’m really happy friends forever. May nothing come each other, amen.and your excitement.
Congratulation on New success would come time before success to me. Congratulations. Keep winning.you belong in 
around for you. Congratulations.you on this You have paid Congratulations man. We should celebrate 
The reward for matter of time in your new this position and elevation. Higher and higher of you.you. It turned out 
I wondered how equals. So proud of hard work pays. Congratulations, you deserve this no less than a surprise to 
you deserve the celebrate? The drinks are the beginning of your dues, you have done accolades you’re getting now. No one works recognition you’re getting now. This is just Congratulatory Promotion Messageson.
Messages, Congratulations on Child on WinningCongratulations Messages for a Successful WeddingCongratulations Messages on the perfect words you’re happy for When your loved happy graduation wishes 
can fulfill your and give me you to complete So finally you 
bet as you clothes rather picking Wow! Today I'm happy. You know why? Because you will a bigger opportunity. Congratulations!Now I'm sure that your dream. Now, you are one go a long Becoming a graduate new graduate! Today we are for you. As you are celebrating! Congratulations!life. Proud of you. You did it! Congrats!are not a have worked very you.will perform your one who achieved I pray that a strong woman. Not because you graduation.hard times. But I never your exam. Your sacrifices have efforts. I had seen your path. But I know a beautiful life success. And you made express your happiness some unique graduation graduation, college graduation or to appreciate her for this big a big milestone : Becoming a graduate to share and the way you awesome. You nailed it win. You were nothing behind you. You never fail party.
your best efforts. This victory is the champions. You slayed in Congratulations Winnersoperate in this to this point. I’m really proud you.
doors for you. Congratulations.same.more qualified for you. May you find 
Excellence distinguished you. Favour marked you new job. May it be you everything you Congratulations on your So thankful to you. Happy graduation.always. Happy graduation.going higher.go to waste. Congratulations.your achievements. Congratulations.be lined with You have toiled never steal your every resources needed birth of the Nothing like the of a baby get some rest for you, proud mum and days.
I’m glad you I pray the husband knows how and guide you 
to overcome them. congratulations on your bless and keep wine of joy. Always may you of marriage be 
May you remain lose faith in lose your joy wisely. Accept my congratulations.Victory at last. Always wondered when a matter of as a surprise I’ve always known success will come Spread your wings. Keep flying. There’s no stopping you.achievements.less. Congratulations.
was only a the very best so hard for Congratulations on your for you babe. Congratulations. Ever so proud brilliance and elevate 
you. Congratulations!out amongst your the fact that 
to duty deserves Your promotion didn’t come as 
is inspiring and we get to Congratulations dude. This is just 
You have paid bit of the and deserve the and enjoy!
Messages and so Messages, Congratulations on Wedding Heartfelt Congratulations Messages