Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know a macro so I can run it through Excel to change the whole spreadsheet date format from American to English?

share|improve this question

migrated from stackoverflow.com Dec 12 '09 at 15:11

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Sub enFormat()    
Sheets("Sheet1").Cells.NumberFormat = "dd/mm/yyyy"    
End Sub
share|improve this answer

Select the cells you want to change, open their format dialog (on old versions it was Ctrl+1) and change it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.