Hello
You could have got this yourself by recording a macro :- Code: ActiveSheet.Range("A1").NumberFormat = "#####-#####"
ActiveSheet.Range("A1").NumberFormat = "#####-#####"
Regards BrianB -------------------------------
Thanks Brian... I used your post also... Tom
Tom This is why I'm forcing my son to become a vet...
Forum Rules