PC Review


Reply
Thread Tools Rate Thread

Command line switches - possible

 
 
=?Utf-8?B?VDEgUmVkIEFsYXJt?=
Guest
Posts: n/a
 
      17th Aug 2007
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 With Quote
 
 
 
 
=?Utf-8?B?VDEgUmVkIEFsYXJt?=
Guest
Posts: n/a
 
      19th Aug 2007
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 With Quote
 
David Biddulph
Guest
Posts: n/a
 
      19th Aug 2007
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" <(E-Mail Removed)> wrote in message
news:75D1385C-D1C9-4D81-BC29-(E-Mail Removed)...
> 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 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
Command-line switches rjchaney Microsoft Outlook VBA Programming 0 23rd Mar 2009 10:18 PM
Command-line switches TJ Dowling Microsoft Excel Misc 2 8th Feb 2008 04:00 PM
Command line switches =?Utf-8?B?U2ltb24gQ2xlYWw=?= Microsoft Access 4 13th Jan 2006 04:46 PM
Re: command line switches Steven Fredette Spyware Discussion 0 2nd Feb 2005 01:08 PM
Command line switches Steve Microsoft Word New Users 3 28th Dec 2004 09:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:57 PM.