PC Review


Reply
Thread Tools Rate Thread

convert date from oracle format to MS Excel mm/dd/yyyyy

 
 
=?Utf-8?B?UGhpbA==?=
Guest
Posts: n/a
 
      8th Jun 2007
Good afternoon;

I have data I am downloading to excel from an oracle database. The date is
either fixed text or ansi and displays as 2007-06-08. I can not simply change
the date format. The only way it will change is if I do an "F2" on each cell.
This may be fine for 10 dates, however, I am looking a 2 columns totalling
600 dates each column. I need something that will convert these easily into
mm/dd/yyyy, and still maintian the correct date.
Does any one have any suggestions

Thanks Phil
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      8th Jun 2007
Sometimes the easiest way is to just do a find and replace on the 00 with 00.
Make sure it takes a partial match. When the replace is done the cell is
canged and Excel will do an implicit conversion of the value (same as hitting
F2).
--
HTH...

Jim Thomlinson


"Phil" wrote:

> Good afternoon;
>
> I have data I am downloading to excel from an oracle database. The date is
> either fixed text or ansi and displays as 2007-06-08. I can not simply change
> the date format. The only way it will change is if I do an "F2" on each cell.
> This may be fine for 10 dates, however, I am looking a 2 columns totalling
> 600 dates each column. I need something that will convert these easily into
> mm/dd/yyyy, and still maintian the correct date.
> Does any one have any suggestions
>
> Thanks Phil

 
Reply With Quote
 
ward376
Guest
Posts: n/a
 
      8th Jun 2007
or try -

With Range("YourRange")
.Value = .Value
End With



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      8th Jun 2007
Try Data>Text to Columns>Next>Next>Column Data Format>Date YMD and Finish.

Most times a simple Data>Text to Columns>Finish will do the trick.


Gord Dibben MS Excel MVP


On Fri, 8 Jun 2007 13:17:01 -0700, Phil <(E-Mail Removed)> wrote:

>Good afternoon;
>
>I have data I am downloading to excel from an oracle database. The date is
>either fixed text or ansi and displays as 2007-06-08. I can not simply change
>the date format. The only way it will change is if I do an "F2" on each cell.
>This may be fine for 10 dates, however, I am looking a 2 columns totalling
>600 dates each column. I need something that will convert these easily into
>mm/dd/yyyy, and still maintian the correct date.
>Does any one have any suggestions
>
>Thanks Phil


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert date (m/dd/yyyy) in text format into an excel recognised date Rob P Microsoft Excel Programming 3 30th Apr 2010 12:40 AM
How do I get my Excel not to convert everything to date format? =?Utf-8?B?QWtlbEE=?= Microsoft Excel Misc 3 11th Jul 2007 04:41 PM
Excel date format convert to string format =?Utf-8?B?bWFu?= Microsoft Excel Discussion 1 17th Aug 2006 10:00 AM
How can I convert a date format to an ISO week format (in EXCEL)? =?Utf-8?B?RUxJ?= Microsoft Excel Misc 2 6th Jul 2005 06:31 PM
How to convert Excel serial date into Access date format? RADO Microsoft Access 2 27th Dec 2003 12:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:44 AM.