functions

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Functions

Functions

resolvedResolved · Low Priority · Version 2003

Vishal has attended:
Access Introduction course
Access Intermediate course
Excel VBA Intro Intermediate course
Excel VBA Advanced course
Access Advanced course

Functions

Please explain the meaning functions: why they are used, difference with procedures

RE: Functions

Hi Vishal

Thank you for your question.

There are two types of procedures, function procedures and sub procedures.

Function procedures differ from sub procedures in that they return a value. As a result, they take information in the form of arguments and process that data to generate a value. Function procedures cannot be used to modify the structure of a worksheet, e.g. formatting fonts etc.

Sub procedures have more general uses, and can be used to manipulate the structure of a workbook. Function procedures are often called from within sub procedures.

Regards

Stephen

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Multiple Lines of Text in a Cell

As an alternative to the Text Wrapping facility, type a word or two, press Alt+Enter to get a new line, type more text, and continue the process for as many lines as you need. Enter as normal when you have finished.

The line break is not affected by changing the column width, as text wrapping. To remove this you must edit the cell and remove the invisible character and replace with a normal space.

View all Excel hints and tips


Server loaded in 0.07 secs.