PC Review


Reply
Thread Tools Rate Thread

Auto filter to all csv file in a folder.

 
 
shiro
Guest
Posts: n/a
 
      25th May 2008
Hi All,
is it possible to apply auto filter to a workbook that is not open?

May be you will ask why do I want to do this.
Here is my situation.
I have a software that outputting records to excel.csv file.And
automatically
save the workbook in a folder named : format(Now ,"yyyy-mm-dd").And
all of the folder are kept in a folder named Result.

This software had been used since a year ago.So there are about 300 folder,
that kept csv file.And in a csv file there are about 400-600 records.

Now I want to be able to retrieve a record and then know which workbook
in which folder which kept the records.Is it possible with vba?

One thing similar,all csv files have similar structure.Is there somebody can
help
me?

Thank's

rgds,

Shiro


 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      25th May 2008
CSV files are text that can be searched with Windows Explorer Search. go to
the START button on windows and right click. Then select Explore.

Find the Folder with the files on the left half of the window. Then right
click the Folder and select Search.

1) Put in filename box *.CSV
2) Put the record you are looking for in the Word or Phase box.

"shiro" wrote:

> Hi All,
> is it possible to apply auto filter to a workbook that is not open?
>
> May be you will ask why do I want to do this.
> Here is my situation.
> I have a software that outputting records to excel.csv file.And
> automatically
> save the workbook in a folder named : format(Now ,"yyyy-mm-dd").And
> all of the folder are kept in a folder named Result.
>
> This software had been used since a year ago.So there are about 300 folder,
> that kept csv file.And in a csv file there are about 400-600 records.
>
> Now I want to be able to retrieve a record and then know which workbook
> in which folder which kept the records.Is it possible with vba?
>
> One thing similar,all csv files have similar structure.Is there somebody can
> help
> me?
>
> Thank's
>
> rgds,
>
> Shiro
>
>
>

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      25th May 2008
Hi shiro

Maybe this (example 4)
You can change it to open csv files instead of xls?

http://www.rondebruin.nl/copy3.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"shiro" <shiro@myname?.com> wrote in message news:(E-Mail Removed)...
> Hi All,
> is it possible to apply auto filter to a workbook that is not open?
>
> May be you will ask why do I want to do this.
> Here is my situation.
> I have a software that outputting records to excel.csv file.And
> automatically
> save the workbook in a folder named : format(Now ,"yyyy-mm-dd").And
> all of the folder are kept in a folder named Result.
>
> This software had been used since a year ago.So there are about 300 folder,
> that kept csv file.And in a csv file there are about 400-600 records.
>
> Now I want to be able to retrieve a record and then know which workbook
> in which folder which kept the records.Is it possible with vba?
>
> One thing similar,all csv files have similar structure.Is there somebody can
> help
> me?
>
> Thank's
>
> rgds,
>
> Shiro
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AUTO FILTER WITH VALUE IN CELLS AND COPY FILTERED DATA TO NEW FILE Eddy Stan Microsoft Excel Programming 3 23rd Jun 2008 02:15 PM
how to filter file types to be written or save in a folder? Russg Anti-Virus 8 28th Apr 2008 10:22 PM
Auto rename file when dragging into folder with file of same name? insert your name here Windows XP Basics 4 7th Apr 2006 03:28 PM
auto rename file when dragging to folder with a file of same name? insert your name here Windows XP Basics 1 7th Apr 2006 04:40 AM
Auto Expand Folder from Filter Move =?Utf-8?B?TWFyaw==?= Microsoft Outlook Discussion 0 12th Dec 2004 07:09 PM


Features
 

Advertising
 

Newsgroups
 


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