Excel tip: Check if a directory existsDate: 9 june 2001This function will return TRUE if the specified folder/direcotry exists, or FALSE if it doesn't. Copy-paste friendly code: Public Function CheckDir(Directory As String) As Boolean
On Error GoTo ErrNotExist ChDir (Directory) CheckDir = True Exit Function ErrNotExist: CheckDir = False End Function « back | ||
Home
Privacy Policy
Cookie Policy
EULA
Download
All added Excel tools
Sitemap
Contact Us
©1999-2025 ∙ ASAP Utilities ∙ A Must in Every Office BV ∙ The Netherlands
🏆 Winner of the "Best Microsoft Excel Add-in" Award at the Global Excel Summit 2025 in London! For over 25 years, ASAP Utilities has helped users worldwide save time and do what Excel alone cannot. |