Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Command line switches - possible

I get a file exported from an AS400 into excel, but it exports as excel 2.1,
and all the dates come over as text, and I can't convert. I have to save as
a tab delimited file, then import to excel (2003), which corrects the problem.

Is there a command line excel function to open a .txt file and then save as
excel without haveing to manually launch the application?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Command line switches - possible

Well, it looks like a date, and there is no other characeters, but its not
recgnoized as a date. It's left justified, and when sorting, it sorts as
text - 01/01/07 before 03/03/06. and selected the cells and setting format
as text has no effect.

"Duke Carey" wrote:

What do you mean, specifically, by "I can't convert." What's the format of
the text -Excel cannot almost certainly recognize it and convert it to a
datevalue.

"T1 Red Alarm" wrote:

I get a file exported from an AS400 into excel, but it exports as excel 2.1,
and all the dates come over as text, and I can't convert. I have to save as
a tab delimited file, then import to excel (2003), which corrects the problem.

Is there a command line excel function to open a .txt file and then save as
excel without haveing to manually launch the application?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Command line switches - possible

Two options worth trying:
Copy a blank cell, then select your cells & edit/ paste special/ add.
or
Select your column of data, then Data/ Text to columns/ Next/ Next/ Column
date format: DMY or MDY as appropriate to your input data/ Finish.
--
David Biddulph

"T1 Red Alarm" wrote in message
...
Well, it looks like a date, and there is no other characeters, but its not
recgnoized as a date. It's left justified, and when sorting, it sorts as
text - 01/01/07 before 03/03/06. and selected the cells and setting
format
as text has no effect.

"Duke Carey" wrote:

What do you mean, specifically, by "I can't convert." What's the format
of
the text -Excel cannot almost certainly recognize it and convert it to a
datevalue.

"T1 Red Alarm" wrote:

I get a file exported from an AS400 into excel, but it exports as excel
2.1,
and all the dates come over as text, and I can't convert. I have to
save as
a tab delimited file, then import to excel (2003), which corrects the
problem.

Is there a command line excel function to open a .txt file and then
save as
excel without haveing to manually launch the application?



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
Command line switches - possible Niniel Excel Discussion (Misc queries) 0 August 17th 07 01:53 AM
Command line switches - possible Duke Carey Excel Discussion (Misc queries) 0 August 17th 07 01:44 AM
Command Line Export fjurek Excel Discussion (Misc queries) 6 April 23rd 07 09:08 PM
macros from command line Cyberwolf Excel Discussion (Misc queries) 3 July 19th 05 05:35 PM
Q: command line in OE JIM.H. Excel Discussion (Misc queries) 0 May 30th 05 10:48 PM


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