Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro apply on all the file in same directory
Dear expert,
I'm using Excel 2007. Have written a macro and would like to apply on all the files in a diectory. Say C:\BONY\ASTRO\PROJECTION\ If I have another request, if ... I want to just run on the files which contains words "20091028" Is it difficult? Thanks Elton |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro apply on all the file in same directory
Hi Elton Try this http://www.rondebruin.nl/copy4.htm You can replace the red part with the code you want to run contains words "20091028" Read tip 2 about this -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Elton Law" wrote in message ... Dear expert, I'm using Excel 2007. Have written a macro and would like to apply on all the files in a diectory. Say C:\BONY\ASTRO\PROJECTION\ If I have another request, if ... I want to just run on the files which contains words "20091028" Is it difficult? Thanks Elton |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro to import CSV file from fixed directory | Excel Programming | |||
Macro in Excel using an Array to Delete File in Directory if it Exists | Excel Programming | |||
How do I force an Excel macro to ask me which file and directory? | Excel Discussion (Misc queries) | |||
Macro to play wave file in current directory | Excel Programming | |||
Truncat the file name in long directory using macro | Excel Programming |