I have a variable in cell A50 in my sheet called Codes. The name of the variable is Endperdate. I want it to output in the date format as shown below, but it always just gives the Excel number for the date. No doubt I have something wrong with my code. Any help would be greatly appreciated...