Writing Your Own Function
An Excel file that teaches how to perform Writing Your Own Function operation.
Excel Template for Writing Your Own Function
A VBA module and signature are being created. Parameter types are clearly defined. Errors are handled with meaningful code. Array operations are preferred for performance. Sample calls are shown on the documentation page.
Hope it is useful.