Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to check for the existence of the Temporary folder namedTemporary Folder 1,2 and so on As
Hi All,
I am using the below code: FSO.deletefolder Environ("Temp") & "\Temporary Directory*", True Set FSO = CreateObject("scripting.filesystemobject") FSO.DeleteFolder Environ("Temp") & "\Temporary Directory*", True Problem is that I want to check for the existence for the Temporary Directory* means Temporary Diectory a and b ans so on, can i check for the existence of folder before deleting as the name here is not fixed. Regards, Yuvraj |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Save file in a new folder, but create folder only if folder doesn't already exist? | Excel Programming | |||
Check if folder exists, if yes just copy sheet in to folder? | Excel Programming | |||
Temporary Folder Location | Excel Programming | |||
Can VBA clear the Temporary Internet File folder? | Excel Programming | |||
Checking for the Existence of a Folder | Excel Programming |