Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl0s66
 
Posts: n/a
Default Getting a file and Saving a File


Thanks for the reply,

The files will be .txt files.

They will all be formatted the same way (the macro to do this has been
created).

I simply need a way of getting the text file in and outputting and
corresponding .xls. The filenames are contained in a static array and
the text files correspond to the filenames of the text files. So:

The array contains the first 4 values AAA, AAC, BAA, BUA. And the text
files AAA.txt, AAC.txt, BAA.txt, BUA.txt are in a directory.


--
carl0s66
------------------------------------------------------------------------
carl0s66's Profile: http://www.excelforum.com/member.php...o&userid=16620
View this thread: http://www.excelforum.com/showthread...hreadid=320067

  #2   Report Post  
Dave O
 
Posts: n/a
Default

Hi, apologies for the delayed reply.

It sounds like this should be pretty straightforward. This code will
open a file so it can be read:

Open Filename.txt for Input as #1
....
....
....
Close #1


Please email me: cyclezenATyahooDOTcom so we can chat more
efficiently.

Dave O

carl0s66 wrote in message ...
Thanks for the reply,

The files will be .txt files.

They will all be formatted the same way (the macro to do this has been
created).

I simply need a way of getting the text file in and outputting and
corresponding .xls. The filenames are contained in a static array and
the text files correspond to the filenames of the text files. So:

The array contains the first 4 values AAA, AAC, BAA, BUA. And the text
files AAA.txt, AAC.txt, BAA.txt, BUA.txt are in a directory.

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Off topic.

You spam-guarded your email address in the body of the message, but your address
appears in header. You may want to munge it there, too.

Dave O wrote:

Hi, apologies for the delayed reply.

It sounds like this should be pretty straightforward. This code will
open a file so it can be read:

Open Filename.txt for Input as #1
...
...
...
Close #1

Please email me: cyclezenATyahooDOTcom so we can chat more
efficiently.

Dave O

carl0s66 wrote in message ...
Thanks for the reply,

The files will be .txt files.

They will all be formatted the same way (the macro to do this has been
created).

I simply need a way of getting the text file in and outputting and
corresponding .xls. The filenames are contained in a static array and
the text files correspond to the filenames of the text files. So:

The array contains the first 4 values AAA, AAC, BAA, BUA. And the text
files AAA.txt, AAC.txt, BAA.txt, BUA.txt are in a directory.


--

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
Error Message appearing when saving a file JaneC Excel Discussion (Misc queries) 0 November 25th 04 10:35 PM


All times are GMT +1. The time now is 01:48 AM.

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"