Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Excel > msgbox function


Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2004, 08:06 AM
sheps87 sheps87 is offline
Freshman
 
Join Date: Oct 2003
Location: Plymouth, UK
Posts: 34
Default msgbox function


I want to put up a msgbox, saying two predetermined values (code and qty), this in itself isnt a problem:

msgbox (code & qty)

but how can i add other text to this? I want it to say:

Code: *code* - Quantity available: *qty*

What would the code be?
Reply With Quote
  #2  
Old 03-02-2004, 08:15 AM
rick_deacha's Avatar
rick_deacha rick_deacha is offline
Sith Lord

Retired Leader
* Expert *
 
Join Date: Feb 2004
Location: Monterrey, Mexico
Posts: 2,179
Default

Code:
MsgBox code & " - Quantity available: " & qty
__________________
Rick
Use [vb][/vb] | Refer to VBA or VB | Newbie? run the Macro Recorder
Excel and VB Automation :|: Excel FAQ
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the handle of a combo-box list. meteo API 4 02-20-2004 11:20 AM
need help! i'm a beginner geekool General 7 04-26-2003 12:44 AM
read input from sound card dan1707 General 2 10-21-2001 09:52 AM
MS Winsocket gibson General 3 07-20-2001 10:03 AM
link function to textboxes golash General 2 05-03-2001 11:57 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->