Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a line of code thus...
strDirName = Dir(strRootDir, vbDirectory + vbNormal) If it is a directory to which I do not have access, err.number 52 is returned along with a debug dialogue box. I now change it to... On error resume next strDirName = Dir(strRootDir, vbDirectory + vbNormal) I still get the dialogue debug box even with the 'On error resume next statement'. Any ideas as to why ? Regards, Jim. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trapping #VALUE! error | Excel Discussion (Misc queries) | |||
Error Trapping from WSH | Excel Discussion (Misc queries) | |||
error trapping | Excel Discussion (Misc queries) | |||
trapping error | Excel Programming | |||
error trapping | Excel Programming |