Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
FileDateTime help
Hello -
I need to pull in the update_date from approx 60 files and need some help in building an 'updateable' macro. I'm familiar with the FileDateTime methodology, but only in a static application -- ie, the file names don't change. Let me explain the data format: 1) Store#'s are in cells B5:B37 (these are non-sequential, eg 153/211/215/etc) 2) Filename is like this: \\Server\Drive\Folder\File_[Store#]_[B1].xls -- where Store# comes from B5:B37 and [B1] is the value of cell B1 3) update_dates go in cells D5:D37 and F5:F37 (the filename changes slightly, I can do this) Any ideas how to do this.....? TIA, Ray |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
FileDateTime help
Ray,
Assuming you already have some function to get the FileDateTime (maybe called "GetFileDateTime"), you can just call that function with =GetFileDateTime("\\Server\Drive\Folder\File "_& B5 & B$1 & ".xls") NickHK "Ray" wrote in message oups.com... Hello - I need to pull in the update_date from approx 60 files and need some help in building an 'updateable' macro. I'm familiar with the FileDateTime methodology, but only in a static application -- ie, the file names don't change. Let me explain the data format: 1) Store#'s are in cells B5:B37 (these are non-sequential, eg 153/211/215/etc) 2) Filename is like this: \\Server\Drive\Folder\File_[Store#]_[B1].xls -- where Store# comes from B5:B37 and [B1] is the value of cell B1 3) update_dates go in cells D5:D37 and F5:F37 (the filename changes slightly, I can do this) Any ideas how to do this.....? TIA, Ray |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
FileDateTime function - how to make it authomatic? | Excel Programming | |||
Put only date (not time too) in variable from FileDateTime function | Excel Programming | |||
FileDateTime for Internet web page | Excel Programming |