By using expertatexcel.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

Become an Σxpert at Σxcel.com

 


Selection.NumberFormat = "mmm-yy"

This statement can be recorded to format a date to be in mmm-yy format.

The mmm is the 3 character month code, ex. Jan, Feb, Mar, ...

and the yy is the 2 digit year.

The Selection is the currently selected cells on the ActiveSheet in the ActiveWorkbook