The Versatile Split Function
Several useful functions that use VBA's Split function. Requires Excel
2000 or later.
Determining the Drive Type
A VBA function that accepts a drive letter, and returns a string that
describes the type of drive. Uses a Windows API function.
Determining the last non-empty cell in a column or row:
Two useful VBA functions. LASTINCOLUMN returns the contents of the last non-empty cell in
a column; LASTINROW returns the contents of the last non-empty cell in a row.
Undoing a VBA Subroutine:
An example of a VBA routine that can be undone with the Edit Undo command.
Looping Through Ranges Efficiently in Custom Worksheet Functions:
A technique that lets you create more efficient custom worksheet functions by limiting the
range references to the sheet's active area only. This makes it feasible to use a complete
row or column reference in a custom function - such as MYSUM(A:A).
Getting a List of File Names:
A VBA function that returns an array containing filenames that match a filespec in a
particular directory.
Identifying Unique Values in an Array or Range:
a VBA function that accepts either a worksheet range object or a VBA array. The function
returns either (a) a variant array that consists of just the unique elements in the input
array or range, or (b) a single value - the number of unique elements in the input array
or range.