Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Date format is not correct when using OpenText in Excel 2000

Using Workbook.OpenText will chage dateformat dd/mm/yyyy =
mm/dd/yyyy.

Workbooks.OpenText Filename:="C:\Test1.csv", DataType:=xlDelimited, _
TextQualifier:=xlTextQualifierNone, FieldInfo:=Array(1, 4)

This have been fixed in a hotfix for excel 2002
http://support.microsoft.com/default.aspx?kbid=835718

Is there any hotfix for excel 2000 or work around?

Thanks in advance

// Mats
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Date format is not correct when using OpenText in Excel 2000

A common workaround is to rename the text file to .TXT. Then you can specify
the type of date you want (dmy).

I like to record a macro when I do it manually to get the fields correct.

Mats L wrote:

Using Workbook.OpenText will chage dateformat dd/mm/yyyy =
mm/dd/yyyy.

Workbooks.OpenText Filename:="C:\Test1.csv", DataType:=xlDelimited, _
TextQualifier:=xlTextQualifierNone, FieldInfo:=Array(1, 4)

This have been fixed in a hotfix for excel 2002
http://support.microsoft.com/default.aspx?kbid=835718

Is there any hotfix for excel 2000 or work around?

Thanks in advance

// Mats


--

Dave Peterson

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
My Excel 2000 changes the format of my numbers, how do I correct? Dell Excel Discussion (Misc queries) 3 February 13th 07 11:16 PM
How do I get the date correct in excel 2000 on a chart? Racheb Charts and Charting in Excel 2 December 16th 05 05:11 AM
Date format not correct when you convert a CSV text file in Excel Scarab Excel Discussion (Misc queries) 2 November 16th 05 12:22 PM
Excel 2000 date format cannot be set to Australian date format Brian Jones Excel Discussion (Misc queries) 1 March 30th 05 06:03 AM
After OpenText all pastes from external apps use format from OpenText Jim[_31_] Excel Programming 1 November 8th 03 02:17 AM


All times are GMT +1. The time now is 06:23 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"