Have you highlighted the cells and changed the format using
Rclick>>format>> Custom>>change the 'type' as "yyy.mm.dd"
or by formula
Code:=TEXT(A1,"yyy.mm.dd")
Sub MM1()
For Each cell In Selection
cell.Value = Format(cell.Value, "yyyy.mm.dd")
Next cell
End Sub
Yeah sorry, typo....
Maybe VBA
Highlight the range to be changed then run
Code:Sub MM1() For Each cell In Selection cell.Value = Format(cell.Value, "yyyy.mm.dd") Next cell End Sub