Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Carlos,
If you first go to 'Tools References' and set a reference to 'Microsoft Scripting Runtime', you can dim objFSO as "Scripting.FileSystemObject" and the folder as "Scripting.Folder". You can also get away with just what I gave you but change the string at the top to the folder you're actually wanting to check and rather than generating a message box you would want to feed the file name string to whatever code you have in your VBA subroutine. Steve |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I get date of file creation to XLS cell in date format? | Excel Worksheet Functions | |||
Open - Output txt file creation | Excel Programming | |||
Open text file based on date. | Excel Programming | |||
Insert text based on date | Excel Discussion (Misc queries) | |||
Open file based on yesterday's date | Excel Programming |