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 VBA - Deleting Small Text Files


Group,
I'm not sure if I should break this up or just ask for the whole
enchilada. I'll start with the big picture. I want to launch a macro
that will review all text files in a directory. If the file is <= 500
bytes, delete it. If its greater than 500 bytes, starting parsing the
file. I want to have a single file, lets call it the master file
(Excel) which will take parts of the text file(s) and log what is being
copied from the text file. So my questions a
1. Can I delete files from within a spreadsheet? If so, how can I
do it?
2. Can I append to an Excel file based on data found in multiple
text files, each with a different name and potentially 1000's of text
files?

We test radios and each radio has a unique data file. The data is
saved in text with each file having a unique name to it. I want to
combine all the files into a master file. Later we analyize the data.
Your thoughts on how I should approach this macro. I want to do this
in VBA for Excel.

Tony


--
ajocius
------------------------------------------------------------------------
ajocius's Profile: http://www.excelforum.com/member.php...o&userid=17695
View this thread: http://www.excelforum.com/showthread...hreadid=497295

 
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
Deleting the text without deleting the formula gems04 Excel Worksheet Functions 3 January 30th 09 11:21 PM
How do I break a large .CSV file into several small Excel files? Grand Blanc Campbell Excel Worksheet Functions 9 September 3rd 06 03:17 AM
Small square in the cells of CSV files - Text to column Hari Prasadh[_2_] Excel Programming 4 February 13th 05 05:06 AM
Very small macro/VBA stuff, deleting rows. Sintel Excel Programming 6 September 6th 04 05:09 PM
Combo Box - text too small!!! Eoin C. Bairéad Excel Programming 1 February 27th 04 12:36 PM


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