Bung
Electrical
- Feb 10, 2002
- 428
How do I test for the existence of a folder from a VBA module in Excel? GetAttr only works if the folder exists. There appear to be a whole heap of ways for testing for the existence of a file, but I can't figure out how to do it for a folder. The help on my MSDN disk I got with VB6 says to use "FileSystemObject.FolderExists(folderspec)" but that does not appear to be available to me in Excel '97.
Anybody got any suggests (apart from inelegant "on error ..." approaches!)
Bung
Life is non-linear...
Anybody got any suggests (apart from inelegant "on error ..." approaches!)
Bung
Life is non-linear...