A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

formatting large batch of files



 
 
Thread Tools Display Modes
  #1  
Old October 21st, 2003, 11:15 AM
Gerry Rigney
external usenet poster
 
Posts: n/a
Default formatting large batch of files

Hi all, this is not strictly an excel setup question but I
dont' see any other excel sections. I'll pick your brains
any way:

I've a folder with about 100 subfolders all containing
around 10 .csv files. I need to format all these files
using the same formatting (remove some lines, distribute
some text to differnt columns etc) Question:

Is there any way I can for example set up a macro to do the
formatting I need but then automatically make it run
through all the csv file in the folder structure ?

I look forwart to any responses and appreciate any advice
on the topic.

Cheers
Gerry R

  #2  
Old October 21st, 2003, 09:46 PM
Nick Hodge
external usenet poster
 
Posts: n/a
Default formatting large batch of files

Gerry

A good starting point would be to record the settings you need using the
macro recorder. The next bit would need to be coded manually, but it would
be fairly simple using VBA's Dir Function and a variable to accept the file
name, etc.

Without much more detail it's hard to help more

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"Gerry Rigney" wrote in message
...
Hi all, this is not strictly an excel setup question but I
dont' see any other excel sections. I'll pick your brains
any way:

I've a folder with about 100 subfolders all containing
around 10 .csv files. I need to format all these files
using the same formatting (remove some lines, distribute
some text to differnt columns etc) Question:

Is there any way I can for example set up a macro to do the
formatting I need but then automatically make it run
through all the csv file in the folder structure ?

I look forwart to any responses and appreciate any advice
on the topic.

Cheers
Gerry R



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.