Chapter 28. Creating Custom Functions

Creating a Simple Custom Function

Using Custom Functions

Understanding Custom Function Rules

Using VBA Keywords in Custom Functions

Documenting Macros and Custom Functions

Creating Custom Functions with Optional Arguments

Making Your Custom Functions Available Anywhere

ALTHOUGH Microsoft Excel 2010 includes a multitude of built-in worksheet functions, chances are that it doesn’t have a function for every type of calculation you perform. The designers of Excel couldn’t possibly anticipate every calculation need of every user. But they do provide you with the ability to create custom functions. In the same way that a macro lets you encapsulate a sequence of actions and then execute that sequence with a single command, ...

Get Microsoft® Excel® 2010 Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.