Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Date format defaults to Custom

Whenever I enter a date into a cell, such as 1/2, for Jan 2, 2008, (appearing
as 2-Jan in the spreadsheet, but showing as 1/2/2008) the cell format is a
"Custom" format.
Where can I change the setting (??) so that whenever I enter 1/2, the format
is a "Date" format, not a Custom one?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Date format defaults to Custom

Hi John,

How do you want the date to appear in the cell?

The Custom format you are getting is a custom date format, so it is a date
format. If what you want is that date format should appear in the Date
category of the Format Cells dialog box rather than Custom, that's a problem.

--
Thanks,
Shane Devenshire


"JohnL" wrote:

Whenever I enter a date into a cell, such as 1/2, for Jan 2, 2008, (appearing
as 2-Jan in the spreadsheet, but showing as 1/2/2008) the cell format is a
"Custom" format.
Where can I change the setting (??) so that whenever I enter 1/2, the format
is a "Date" format, not a Custom one?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Date format defaults to Custom

Thanks for responding, Shane.

I understand that even tho it is a "custom" format, it is still a date
format, just not the one I want.

What I end up doing is FormatCellsNumberDate and choosing 3/14/01.
I do a lot of uploading of spreadsheets to Access tables and this is a date
format that seems to work well.

In EXCEL can I have this format (3/14/01) as the default date format so that
when I enter 1/3 into the cell it returns as 1/3/08 and not 3-Jan?

Thanks

John

"ShaneDevenshire" wrote:

Hi John,

How do you want the date to appear in the cell?

The Custom format you are getting is a custom date format, so it is a date
format. If what you want is that date format should appear in the Date
category of the Format Cells dialog box rather than Custom, that's a problem.

--
Thanks,
Shane Devenshire


"JohnL" wrote:

Whenever I enter a date into a cell, such as 1/2, for Jan 2, 2008, (appearing
as 2-Jan in the spreadsheet, but showing as 1/2/2008) the cell format is a
"Custom" format.
Where can I change the setting (??) so that whenever I enter 1/2, the format
is a "Date" format, not a Custom one?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Date format defaults to Custom

Hi John,

I don't believe you can set the default date format just for Excel. You
might be able to do it in Windows, but I'm not sure what impact that would
have on Excel.

Alternatively you could add the following code to your workbook

Sub myDate()
Selection.NumberFormat = "m/d/yy;@"
End Sub

And assign a shortcut key to it or assign it to a toolbar button.

Then at least the process would be a single step.

A separate point - Of course once a cell has been formatted with the desired
date format you can quickly copy and paste that format to many other cells
using the Format Painter.

--
Cheers,
Shane Devenshire


"JohnL" wrote:

Thanks for responding, Shane.

I understand that even tho it is a "custom" format, it is still a date
format, just not the one I want.

What I end up doing is FormatCellsNumberDate and choosing 3/14/01.
I do a lot of uploading of spreadsheets to Access tables and this is a date
format that seems to work well.

In EXCEL can I have this format (3/14/01) as the default date format so that
when I enter 1/3 into the cell it returns as 1/3/08 and not 3-Jan?

Thanks

John

"ShaneDevenshire" wrote:

Hi John,

How do you want the date to appear in the cell?

The Custom format you are getting is a custom date format, so it is a date
format. If what you want is that date format should appear in the Date
category of the Format Cells dialog box rather than Custom, that's a problem.

--
Thanks,
Shane Devenshire


"JohnL" wrote:

Whenever I enter a date into a cell, such as 1/2, for Jan 2, 2008, (appearing
as 2-Jan in the spreadsheet, but showing as 1/2/2008) the cell format is a
"Custom" format.
Where can I change the setting (??) so that whenever I enter 1/2, the format
is a "Date" format, not a Custom one?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Date format defaults to Custom

Have you looked at the default date formats set up in your Windows Regional
Options?
--
David Biddulph

"JohnL" wrote in message
...
Thanks for responding, Shane.

I understand that even tho it is a "custom" format, it is still a date
format, just not the one I want.

What I end up doing is FormatCellsNumberDate and choosing 3/14/01.
I do a lot of uploading of spreadsheets to Access tables and this is a
date
format that seems to work well.

In EXCEL can I have this format (3/14/01) as the default date format so
that
when I enter 1/3 into the cell it returns as 1/3/08 and not 3-Jan?

Thanks

John

"ShaneDevenshire" wrote:

Hi John,

How do you want the date to appear in the cell?

The Custom format you are getting is a custom date format, so it is a
date
format. If what you want is that date format should appear in the Date
category of the Format Cells dialog box rather than Custom, that's a
problem.

--
Thanks,
Shane Devenshire


"JohnL" wrote:

Whenever I enter a date into a cell, such as 1/2, for Jan 2, 2008,
(appearing
as 2-Jan in the spreadsheet, but showing as 1/2/2008) the cell format
is a
"Custom" format.
Where can I change the setting (??) so that whenever I enter 1/2, the
format
is a "Date" format, not a Custom one?





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Date format defaults to Custom

Hi David,
I hadn't thought of that. So I checked and it is set at M/d/yyyy.

Thanks for the suggestion.

John


"David Biddulph" wrote:

Have you looked at the default date formats set up in your Windows Regional
Options?
--
David Biddulph

"JohnL" wrote in message
...
Thanks for responding, Shane.

I understand that even tho it is a "custom" format, it is still a date
format, just not the one I want.

What I end up doing is FormatCellsNumberDate and choosing 3/14/01.
I do a lot of uploading of spreadsheets to Access tables and this is a
date
format that seems to work well.

In EXCEL can I have this format (3/14/01) as the default date format so
that
when I enter 1/3 into the cell it returns as 1/3/08 and not 3-Jan?

Thanks

John

"ShaneDevenshire" wrote:

Hi John,

How do you want the date to appear in the cell?

The Custom format you are getting is a custom date format, so it is a
date
format. If what you want is that date format should appear in the Date
category of the Format Cells dialog box rather than Custom, that's a
problem.

--
Thanks,
Shane Devenshire


"JohnL" wrote:

Whenever I enter a date into a cell, such as 1/2, for Jan 2, 2008,
(appearing
as 2-Jan in the spreadsheet, but showing as 1/2/2008) the cell format
is a
"Custom" format.
Where can I change the setting (??) so that whenever I enter 1/2, the
format
is a "Date" format, not a Custom one?




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Date format defaults to Custom

Thanks for the code, Shane. It appears to be an easy enough work around.

John

"ShaneDevenshire" wrote:

Hi John,

I don't believe you can set the default date format just for Excel. You
might be able to do it in Windows, but I'm not sure what impact that would
have on Excel.

Alternatively you could add the following code to your workbook

Sub myDate()
Selection.NumberFormat = "m/d/yy;@"
End Sub

And assign a shortcut key to it or assign it to a toolbar button.

Then at least the process would be a single step.

A separate point - Of course once a cell has been formatted with the desired
date format you can quickly copy and paste that format to many other cells
using the Format Painter.

--
Cheers,
Shane Devenshire


"JohnL" wrote:

Thanks for responding, Shane.

I understand that even tho it is a "custom" format, it is still a date
format, just not the one I want.

What I end up doing is FormatCellsNumberDate and choosing 3/14/01.
I do a lot of uploading of spreadsheets to Access tables and this is a date
format that seems to work well.

In EXCEL can I have this format (3/14/01) as the default date format so that
when I enter 1/3 into the cell it returns as 1/3/08 and not 3-Jan?

Thanks

John

"ShaneDevenshire" wrote:

Hi John,

How do you want the date to appear in the cell?

The Custom format you are getting is a custom date format, so it is a date
format. If what you want is that date format should appear in the Date
category of the Format Cells dialog box rather than Custom, that's a problem.

--
Thanks,
Shane Devenshire


"JohnL" wrote:

Whenever I enter a date into a cell, such as 1/2, for Jan 2, 2008, (appearing
as 2-Jan in the spreadsheet, but showing as 1/2/2008) the cell format is a
"Custom" format.
Where can I change the setting (??) so that whenever I enter 1/2, the format
is a "Date" format, not a Custom one?

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
Looking for custom date format Pierre Excel Worksheet Functions 15 June 21st 07 03:17 PM
Date Format in Custom Header Radsri- Excel Discussion (Misc queries) 2 September 7th 05 03:57 PM
Custom format date bach New Users to Excel 5 August 30th 05 01:43 AM
Custom number format always defaults last number to 0. scubadave Excel Discussion (Misc queries) 2 June 15th 05 10:20 PM
Custom Date format ie. 01.01.05 W1 (W1 is week 1) aspen Excel Discussion (Misc queries) 3 December 29th 04 04:23 AM


All times are GMT +1. The time now is 09:33 PM.

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

About Us

"It's about Microsoft Excel"