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,
 
Ad

Advertisements

T

Tushar Mehta

On Error GoTo 0

that is goto zero.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 
Ad

Advertisements

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

Similar Threads

On Error {...} Resume Next 2
On Error Resume Next 3
On Error Resume Next 2
On Error Resume Next 3
On Error Resume Next 5
On Error Resume Next ? 4
On error resume next 2
on error resume next 2

Top