Login | |
|
 |
RE: File Exists Question - 8/23/2008 6:39:51 AM
|
|
 |
|
| |
dm_4ever
Posts: 2669
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
*untested* If fso.FolderExists(strSourceFolder) Then Set objFolder = fso.GetFolder(strSourceFolder) If objFolder.Files.Count > 0 Then fso.CopyFile objFolder.Path & "\*.*", strDestFolder ' make sure the destination folder ends with a \ End If End If
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|