LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Importing numerous files

Thanks for the reply!!! Apologies - I should have been
more specific.

I am trying to import (append) all these text files from a
specified folder into an excel spreadsheet. So far, I've
only been able to append these comma delimited files by
repetitively going to the bottom of the spreadsheet,
clicking "get external data" and going thru the import
wizard. I've tried to write a macro to do this by
modifying a recorded macro but I'm not a VB programmer and
can't get it to work. (Is there a way to have VB tell you
where the code errors are?) Perhaps I'm on the wrong
track...

Any further help would be GREATLY appreciated!!!




-----Original Message-----
Hello,
If all you are trying to do is append numerous txt files,
I know a way.

Create a folder and put all your txt files in that folder.
Then, click start and select Run - type cmd and a "DOS"
prompt should appear. Change directories to the folder
you created and has all the txt files you are trying to
concatonate.
Then, type at the command prompt:
COPY * ALLFILES.TXT

where ALLFILES.TXT is the name of your output file.
Hope this helps! :-)
-----Original Message-----
Is there a way to import or append numerous (80) text
files into a spreadsheet without having to import one at

a
time?
.

.

 
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
Excel - merging numerous files drumbumuk Excel Discussion (Misc queries) 7 August 12th 08 04:41 PM
Inserting text into numerous cells for many different files joshua Excel Discussion (Misc queries) 4 December 29th 06 06:09 PM
Help extract numerous text files and how to use avg formula [email protected] Excel Worksheet Functions 0 May 16th 06 11:38 PM
Extracting cell data from numerous files in multiple folders???? JoeJoe Excel Worksheet Functions 5 March 23rd 06 03:10 AM
Importing files Dan E[_2_] Excel Programming 1 July 16th 03 04:53 PM


All times are GMT +1. The time now is 06:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"