Microsoft Office Tutorials and References
In Depth Information
Testing and Running Your Code
✦ In an expression used in a macro
✦ As a custom action called from a macro, such as the example shown in
Figure 2-16, earlier in this chapter
In Access, function procedures generally are easier to use than sub
procedures. Calling a function procedure from within any expression is easy.
Many prewritten custom VBA code examples that you can find on the web
are organized into function procedures rather than sub procedures.