how to stop "On error resume next" ?

G

Guest

Hello,
Does anyone know how to make that:
Application.displayerror = false (like: On error resume next)
If Dir("D:\temp\") = "" Then
Exit Sub
End If
If (error.count = 1) then
exit sub
endif
Application.displayerror = true

I can make a: On error resume next at the beginning but how can I say, On
error resume next = False ?
Thanks,
 
G

Guest

Thanks a lot!
does a way to improved my prog ?
On Error Resume Next
If Dir("V:\Ace\") = "" Then
Exit Sub
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top