Message 1 of 2
How to solve runtime error 5 in vba?

Not applicable
02-23-2005
08:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have two loops using Dir$ in vba. If exit the inside loop after an empty string is returned, then make another call to Dir$ with no arguments, the runtime error 5 occurs. Dose anybody know how to solve it?
Thanks,
Thanks,