Home / MS-Excel / Functions and Formula

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 tutorial 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.

In this tutorial you will learn to do the following:

  • Understand what functions are and what they do
  • Use functions
  • Use key VBA functions
  • Convert data from one type to another
  • Manipulate strings and dates