ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Filesystem again (https://www.excelbanter.com/excel-programming/323366-filesystem-again.html)

Alvin Hansen[_2_]

Filesystem again
 
Hi

i use this
On Error GoTo delfolder
Set FolderObj = fso.GetFolder("c:\" & tt & tal & kur1)
MsgBox "No folder"
Exit Sub
Its working but only on folders, is'n there a way to se if there are files
in the folder
Regards alvin




Alvin Hansen[_2_]

Filesystem again
 
I done it with fileExists

Alvin


"Alvin Hansen" skrev:

Hi

i use this
On Error GoTo delfolder
Set FolderObj = fso.GetFolder("c:\" & tt & tal & kur1)
MsgBox "No folder"
Exit Sub
Its working but only on folders, is'n there a way to se if there are files
in the folder
Regards alvin





All times are GMT +1. The time now is 01:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com