Everyday Computing Advanced Computing The Internet At Home Health, Mind & Body Making & Managing Money Sports & Leisure Travel Beyond The Classroom
Handheld Computing
Hardware
Money Management Software
Multimedia
Office Productivity Software
Operating Systems
Moms, Dads, and Grads -- Win $500!
Excel 2003 All-in-One Desk Reference For Dummies
Add a Description to a User-Defined Excel Function
Adapted From: Excel 2003 All-in-One Desk Reference For Dummies

To help your user understand the purpose of your custom VBA Excel functions, you can add descriptions that appear in the Insert Function and Function Arguments dialog boxes. To add a description to your user-defined VBA function, follow these steps:

  1. Open the Visual Basic Editor by choosing Tools, Macro, Visual Basic Editor or by pressing Alt+F11.

  2. Choose View, Object Browser from the Visual Basic Editor menu bar. The Object browser window opens.

  3. Click the drop-down list that currently contains the value All Libraries and select VBAProject on the drop-down list. The Object Browser displays your user-defined function as one of the objects in one of the Classes in the pane on the left.

  4. Right-click the name of your function. This action selects the function and displays it in the Members pane on the right, while at the same time displaying the object’s shortcut menu.

  5. Choose Properties on the shortcut menu. This action opens the Members Options dialog box for your user-defined function, where you can enter your description of the function.

  6. Type the text that you want to appear in the Insert Function and Function Arguments dialog boxes and then click OK.

  7. Close the Object Browser and save your changes.


To find out how to have Dummies eTips delivered to your e-mail inbox every week, visit the Dummies eTip Sign-Up Page.
Related Articles
Formatting the X-Axis or Y-Axis of a Chart in Excel 2002
Saving a Static Web Page in Excel 2002
Excel 2007: Getting the Right Numbers with AVERAGE, MAX, MIN, and MEDIAN
Excel Formulas: Ignoring Signs with the ABS Function
The Basics of Using the Excel Camera Tool
Related Titles
Excel 2000 For Windows For Dummies
Excel 2000 for Windows For Dummies: Quick Reference
Excel 2002 For Dummies
Excel 2002 for Dummies: Quick Reference
Excel 2003 Power Programming with VBA