What Is a Function?Using FunctionsUsing Functions to Convert DataUsing the Asc Function to Return a Character CodeUsing the Val Function to Extract a Number from the Start of a StringUsing the Format Function to Format an ExpressionUsing the Chr Function and Constants to Enter Special Characters in a StringUsing Functions to Manipulate StringsUsing the Left, Right, and Mid Functions to Return Part of a StringUsing InStr and InStrRev to Find a String Within Another StringUsing LTrim, RTrim, and Trim to Remove Spaces from a StringUsing Len to Check the Length of a StringUsing StrConv, LCase, and UCase to Change the Case of a StringUsing the StrComp Function to Compare Apples to ApplesUsing VBA's Mathematical Functions[[Page_232]]Using VBA's Date and[[Page_233]] Time FunctionsUsing the DatePart Function to Parse DatesCalculating Time Intervals Using the DateDiff FunctionUsing the DateAdd Function to Add or Subtract Time from a DateUsing File-Management FunctionsChecking Whether a File Exists Using the Dir FunctionThe Bottom Line