Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I change all dates on a sheet from American format (mm/dd/yyyy) to English format (dd/mm/yyyy)? Is there a way to do this with a VBA macro?

share|improve this question

migrated from Dec 12 '09 at 15:11

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

Are you wanting to change how a string is stored or how the date value is displayed? Internally excel stores dates as doubles, regardless of the display format you choose. – Adam Aug 5 '15 at 20:22
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


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