Chapter 9. Using Built-in Functions
VBA comes with a large number of built-in functions that perform commonly needed operations—everything from determining whether a file exists to returning the current date and converting data from one format to another. (For example, you can use a function to convert numeric data into a text string.)
This chapter demonstrates what functions are, what they do, and how to use them. Along the way, you'll meet some of the key functions built into VBA—including functions that convert data from one data type to another, functions that manage file operations, functions that do math, and many others.
You can also create custom functions of your own to supplement VBA's built-in functions. The next chapter tells you how ...
Get Mastering VBA for Microsoft® Office 2010 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.