Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 31st, 2005, 05:08 PM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need simple definitions

Trying to learn VBA, using the book

Excel 2003 VBA

On pg. 20. Code:

First line:

Function InvoiceAmount(ByVal Product As String, ...)

What is ByVal? What is As String? Why this structure?

Second line:

Price=WorksheetFunction.VLookup(Product,Table,3)

Does this mean that Product has already been defined as a name range?
Does this mean that Table is a defined name range?
 
Old January 3rd, 2006, 06:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can't learn a language just with a book.
Install VB6, VBA and all the VB documentation (help or even better MSDN). write some code. if you need help, highlight the word (for example ByVal) and then press the help (F1) button.
Marco





Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Module definitions AbbottF BOOK: Professional DotNetNuke ASP.NET Portals ISBN: 0-7645-9563-6 0 September 15th, 2005 08:58 AM
field definitions fbobak Access 1 September 22nd, 2004 09:32 PM
OnMouseOut for definitions of names. Possible? gilgalbiblewheel Java Databases 1 September 18th, 2004 02:00 PM
CSS Table Definitions pjmair HTML Code Clinic 2 September 18th, 2003 08:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.