Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to MsgBox    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Whats wrong with this MsgBox
Jeffrey Nabarek 
      
15 months ago
MsgBox ("Your KeyCode Is, Key1",,,Key1, "Information")

I am back to perfecting my registration for my software.

I keep getting error on this statement.  

I need the message "Your KeyCode Is:"  I need the variable Key1 to display and a title as Information.

Could someone look this over and tell me what is wrong with it.  

Thank you for responding  Jeff
Jeffrey Nabarek OP  @Reply  
      
15 months ago

Jeffrey Nabarek OP  @Reply  
      
15 months ago
I Received the above error.  thank you for your assistance Jeff
Kevin Robertson  @Reply  
          
15 months ago
The syntax is completely wrong. Try this:

    MsgBox "Your KeyCode Is " & Key1, vbInformation, "Information"

Watch this video: MsgBox
Jeffrey Nabarek OP  @Reply  
      
15 months ago
I must have missed something in the video.  As is customary.  Kevin you are batting a 1000.  You were right on the mark.  Thank you for your assistance.

Uncle Sam was slow with my paycheck.  Its coming.
Jeffrey Nabarek OP  @Reply  
      
15 months ago
I put the following code in.  I got an error attached.  The Help did not make sense to me.  



MsgBox "During the hours of 9:00am to 6:00pm Eastern Standard Time Monday thru Friday.", vbInformation, "Information"
MsgBox " If you receive voice mail.  Leave your full name, Email address, Phone Number including your area code and Keycode.", vbInformation, "Information"
MsgBox "A Customer Service Representative will contact you as soon as possible.", vbInformation, "Information "
MsgBox "Or Email us at [email protected]", vbInformation, "Information"
Jeffrey Nabarek OP  @Reply  
      
15 months ago

Jeffrey Nabarek OP  @Reply  
      
15 months ago
Invalid outside Procedure.  What does that mean in English.  I looked on Microsoft's website.  Its hierographics.

Could someone tell me what that means. I thank you for your assistance Jeff
Kevin Robertson  @Reply  
          
15 months ago
Make sure your code is between the Sub and End Sub.
Jeffrey Nabarek OP  @Reply  
      
15 months ago
Kevin  Once again you were on target.  Batting a 1000.  I am going to take a break.  It worked..  I have take care of some business.  This thread is now closed.

I do understand what out side procedure means.  It means that all code must be be in between a sub call and a End Sub.  thank you Kevin.
Jeffrey Nabarek OP  @Reply  
      
15 months ago
Kevin, Alex, Sammi its on it way.  I thank all of you.  Without you.  I would be having a even  rougher time.  This thread is now closed.  I don't believe I forgot anyone.  Jeff

This thread is now CLOSED. If you wish to comment, start a NEW discussion in MsgBox.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 6:18:22 PM. PLT: 1s