Hi,
Functions, all of Excel's built-in functions do not make active changes to
the user interface. Functions are designed to make calculation and return
the results of those calculations to the spreadsheet.
This is also true for custom VBA functions.
Cheers,
Shane Devenshire