Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to extract the following details from All Excel files in
a particular folder (say C:\My Documents\Extract Folder) 1) Author 2) date of Creation 3) Date of extraction i.e. the time and date I run the code (usually will run every day) I was hoping to run a piece of code that would extract out the above in a simple sheet, possibly without even opening the files with 1) above listed in Column A and 2) above listed in Column B and 3) above in column C. All files in this folder will be Excel Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sean,
MS have a component called DSOFile that you can use: http://www.microsoft.com/technet/scr...es/sg0305.mspx Some people report problems, but it has worked for me. Not sure what you by #3. Sure you know what time you run the code. Or is there some value in the WB that indicates this ? NickHK "Sean" wrote in message ups.com... Is it possible to extract the following details from All Excel files in a particular folder (say C:\My Documents\Extract Folder) 1) Author 2) date of Creation 3) Date of extraction i.e. the time and date I run the code (usually will run every day) I was hoping to run a piece of code that would extract out the above in a simple sheet, possibly without even opening the files with 1) above listed in Column A and 2) above listed in Column B and 3) above in column C. All files in this folder will be Excel Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Nick, I'll have a go at that.
Was looking for 3 so I could archive some files (have quite a few) and I'd have a reference date of what to archive. NickHK wrote: Sean, MS have a component called DSOFile that you can use: http://www.microsoft.com/technet/scr...es/sg0305.mspx Some people report problems, but it has worked for me. Not sure what you by #3. Sure you know what time you run the code. Or is there some value in the WB that indicates this ? NickHK "Sean" wrote in message ups.com... Is it possible to extract the following details from All Excel files in a particular folder (say C:\My Documents\Extract Folder) 1) Author 2) date of Creation 3) Date of extraction i.e. the time and date I run the code (usually will run every day) I was hoping to run a piece of code that would extract out the above in a simple sheet, possibly without even opening the files with 1) above listed in Column A and 2) above listed in Column B and 3) above in column C. All files in this folder will be Excel Thanks |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sean,
Well, there's nothing built-in that indicates the "last time macros were run". However, there is the DateLastModified or you could create a custom property to indicate that and read it with the DSOFile. NickHK "Sean" wrote in message oups.com... Thanks Nick, I'll have a go at that. Was looking for 3 so I could archive some files (have quite a few) and I'd have a reference date of what to archive. NickHK wrote: Sean, MS have a component called DSOFile that you can use: http://www.microsoft.com/technet/scr...es/sg0305.mspx Some people report problems, but it has worked for me. Not sure what you by #3. Sure you know what time you run the code. Or is there some value in the WB that indicates this ? NickHK "Sean" wrote in message ups.com... Is it possible to extract the following details from All Excel files in a particular folder (say C:\My Documents\Extract Folder) 1) Author 2) date of Creation 3) Date of extraction i.e. the time and date I run the code (usually will run every day) I was hoping to run a piece of code that would extract out the above in a simple sheet, possibly without even opening the files with 1) above listed in Column A and 2) above listed in Column B and 3) above in column C. All files in this folder will be Excel Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extract Info from Multiple files | Excel Worksheet Functions | |||
Extract all CN='Name' from a Active Directory data-dumped-cell | Excel Programming | |||
Extract Data From Active Directory | Excel Programming | |||
reporting directory info into a spreadsheet | Excel Programming | |||
Check if directory empty OR no of files in directory. | Excel Programming |