Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub test1()
Dim fs, f Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFile("c:\temp\abc.txt") MsgBox (f.datelastmodified) End Sub "RayportingMonkey" wrote: I have created a number of automated reports in Excel and now need to pass the actual report generation on to a team of Analysts. There is a mix of automated and manual extracts that comprise the source for these reports. Is there a way I can test to see if the "Date Modified" for the source file(s) is = to TODAY? Thank you for your assistance! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This works - But - Since I want to run logic in the worksheet based on this
data, how do I redirect the response to a cell instead of a Message Box? "Joel" wrote: Sub test1() Dim fs, f Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFile("c:\temp\abc.txt") MsgBox (f.datelastmodified) End Sub "RayportingMonkey" wrote: I have created a number of automated reports in Excel and now need to pass the actual report generation on to a team of Analysts. There is a mix of automated and manual extracts that comprise the source for these reports. Is there a way I can test to see if the "Date Modified" for the source file(s) is = to TODAY? Thank you for your assistance! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Test Date of External Data Source | Excel Programming | |||
Test Date of External Data Source | Excel Programming | |||
DATE FORMAT IN PIVOT TABLE FROM EXTERNAL DATA SOURCE | Excel Discussion (Misc queries) | |||
Date Modified from an External Internet Source | Excel Programming | |||
Date Modified from an External Internet Source | Excel Programming |