Solved

Query for Methods & Procedures in the VB

Posted on 2004-04-15
2
172 Views
Last Modified: 2010-05-02
Hi, Amit Verma this side,
can anybody tell me the Basic difference between Methods, Procedures , Functions and Subroutience
its very imp.
becoz im very much confused about for the same


Thanx

Amit Verma
0
Comment
Question by:amitverma12679
2 Comments
 
LVL 18

Accepted Solution

by:
Sethi earned 50 total points
ID: 10839857
Sub Routines and Procedures are different names for same thing.
Functions are those Sub Routines or procdures that return some value
Methods is a name given to a Sub Ruotine or Function. So method can either be a sub routine or a function.
0
 
LVL 17

Expert Comment

by:zzzzzooc
ID: 10841172
Methods are subroutines or functions that are linked to objects. For example, Move() would be a method of a control (visible controls atleast).

Procedures are considered either a subroutine or function. Basically just a general term.

Functions return values. (as said)

Subroutines don't. (as said)


0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now