Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel 2007 displayed dates

When I enter dates in the Uk english format (dd/mm/yyyyy) in Excel 2007, even
though they are formatted to display dd/mm/yyyy, they are dispayed in the US
english format (mm/dd/yyyy). The formula bar shows that the cell contains a
date in the UK format as entered. The language setting in Excel Options is UK.

I wrote a macro containing an InputBox requesting a date, having previously
defined the variable for this input as Date. The input is entered in the UK
format but when assigning the value of this variable to a cell, it is
displayed in US format. Not only is it displayed contrary to the custom
format, but the content is rubbish. For example, when the date 31 October
2009 is entered into the input box in the UK format, 31/10/09, it is
transposed to a date value of October 09, 1931 in the formula bar and
displayed in the cell as 10/09/31.

Any ideas???
Operating system: Windows Vista

--
johnD30
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Excel 2007 displayed dates

Check your Windows Regional Settings. It looks to me like the date format is
set to year, month, day.

Regards,
Fred

"JohnD30" wrote in message
...
When I enter dates in the Uk english format (dd/mm/yyyyy) in Excel 2007,
even
though they are formatted to display dd/mm/yyyy, they are dispayed in the
US
english format (mm/dd/yyyy). The formula bar shows that the cell contains
a
date in the UK format as entered. The language setting in Excel Options is
UK.

I wrote a macro containing an InputBox requesting a date, having
previously
defined the variable for this input as Date. The input is entered in the
UK
format but when assigning the value of this variable to a cell, it is
displayed in US format. Not only is it displayed contrary to the custom
format, but the content is rubbish. For example, when the date 31 October
2009 is entered into the input box in the UK format, 31/10/09, it is
transposed to a date value of October 09, 1931 in the formula bar and
displayed in the cell as 10/09/31.

Any ideas???
Operating system: Windows Vista

--
johnD30


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Excel 2007 displayed dates

Visit www.ExcelGoodies.Com

---
frmsrcurl: http://msgroups.net/microsoft.public...isplayed-dates
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007: Lines not displayed on Scatter Plot dyoung Charts and Charting in Excel 0 April 23rd 09 11:12 PM
Using Dates in Excel 2007 Mary Ellis Excel Worksheet Functions 1 June 18th 08 08:03 AM
Excel 2007 - Links are not completely displayed EMG Links and Linking in Excel 1 August 23rd 07 08:42 AM
negative dates or times are displayed as # # # # Amr Shehata Excel Worksheet Functions 4 February 2nd 07 11:35 AM
negative dates or times are displayed as # # # # Amr Shehata New Users to Excel 3 November 9th 06 12:34 PM


All times are GMT +1. The time now is 11:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"