Create Custom / User Defined Functions or UDF in Excel using VBA.