Tips.Net > WordTips Home > Creating Macros > Subroutines and Functions

 

Tips, Tricks, and Answers

The following articles are available. Click the article's title (shown in bold) to see the associated article.

Passing Parameters to Functions Functions are a programming structure that allows you to calculate and return a result. They are extremely powerful, and are therefore commonly used in programming. This tip explains how you can enhance your functions by passing information to them that can be used by the function to derive the results you need. Microsoft Word versions: 97 | 2000 | 2002 | 2003

Understanding Functions Functions are a programming structure that allows you to calculate and return a result. They are extremely powerful, and are therefore commonly used in programming. This tip explains what they are, why you should use them, and how to create them. Microsoft Word versions: 97 | 2000 | 2002 | 2003

Understanding Subroutines Subroutines are a mainstay of macro programming. This tip explains what subroutines are, why you would want to use them, how to create them, and how to pass parameters to them. Every VBA macro programmer needs to understand this information. Microsoft Word versions: 97 | 2000 | 2002 | 2003

Understanding VBA Functions When you use functions, you define program routines that return values you can use elsewhere in your program. Microsoft Word versions: 97 | 2000 | 2002 | 2003

Understanding VBA Subroutines Using subroutines, you can divide your VBA programs into logical chunks you can easily manage. Microsoft Word versions: 97 | 2000 | 2002 | 2003

Understanding WordBasic Functions When you use functions, you define program routines that return values you can use elsewhere in your program. Microsoft Word versions: 6 | 95

Understanding WordBasic Subroutines Using subroutines, you can divide your WordBasic programs into logical chunks you can easily manage. Microsoft Word versions: 6 | 95

Using Call to Run VBA Macros An elegant way to run macros from within macros is to use the Call statement. In order to use it, you need to provide a reference from the calling project to the one being called. Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)

RSS Feeds

RSS 2.0 Daily Nuggets (a WordTip every day)

RSS 2.0 Allen Wyatt's WordTips (the weekly classic)