Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi excel gurus,
I regulary scan certain directories to import (=append) new files - depending on file type (*.doc) - in a worksheet. I'am looking for a function which scans a directory and appends only these files which are not in the worksheet where in row A the file name and in row B the directory name should be stored. In the group I found the thread http://groups.google.com/group/micro...+list ing%22# Does anybody have an idea how to change the VBA function mentioned in this posting? Thanks in advance Michael |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The code you posted takes a Root Folder and searches all the Folders below
the root folder. Your posting said you are searching certain directories. I cn write a few different type macros depending on you real needs. 1) How many Foldes are you looking to search? 2) Do you want to also search the sub folders? 3) Where do you want the new files to be put? Below the present list or someplace else in your workbook. The code can be written so you can put the Folder names on a worksheet and the macro will only look at your list of folders incluyding or not including the subfolders. The code is simplier to write if you don't include the subfolders. I have a macro that I can modifiy to do either. "Michael.Tarnowski" wrote: Hi excel gurus, I regulary scan certain directories to import (=append) new files - depending on file type (*.doc) - in a worksheet. I'am looking for a function which scans a directory and appends only these files which are not in the worksheet where in row A the file name and in row B the directory name should be stored. In the group I found the thread http://groups.google.com/group/micro...+list ing%22# Does anybody have an idea how to change the VBA function mentioned in this posting? Thanks in advance Michael |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Mar 26, 1:27 am, "Michael.Tarnowski" wrote:
Hi excel gurus, I regulary scan certain directories to import (=append) new files - depending on file type (*.doc) - in a worksheet. I'am looking for a function which scans a directory and appends only these files which are not in the worksheet where in row A the file name and in row B the directory name should be stored. In the group I found the threadhttp://groups.google.com/group/microsoft.public.excel.worksheet.funct... Does anybody have an idea how to change the VBA function mentioned in this posting? Thanks in advance Michael Nobody no idea???? Michael |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I've writtne code like what you want hundreds of timjes before. there arre
so many combinations of ways to do this that I need more information. That is why I asked for the following information in my last posting 1) How many Foldes are you looking to search? 2) Do you want to also search the sub folders? 3) Where do you want the new files to be put? Below the present list or someplace else in your workbook. "Michael.Tarnowski" wrote: On Mar 26, 1:27 am, "Michael.Tarnowski" wrote: Hi excel gurus, I regulary scan certain directories to import (=append) new files - depending on file type (*.doc) - in a worksheet. I'am looking for a function which scans a directory and appends only these files which are not in the worksheet where in row A the file name and in row B the directory name should be stored. In the group I found the threadhttp://groups.google.com/group/microsoft.public.excel.worksheet.funct... Does anybody have an idea how to change the VBA function mentioned in this posting? Thanks in advance Michael Nobody no idea???? Michael |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
import picture taken data from my pictures directory into excell? | Excel Discussion (Misc queries) | |||
file save error: the file or directory cannot be created | Excel Discussion (Misc queries) | |||
How do I stop automatic virus scan when I open powerpoint file? | Excel Discussion (Misc queries) | |||
Excel should let me sort the file directory when saving a file | Excel Discussion (Misc queries) | |||
How do I turn off virus scan on opening an Excel file? | Excel Discussion (Misc queries) |