14-10-2007, 07:22 PM
Zephius Wrote:Thats what I said basicly, I dont want a on error resume next code. I want it to work just for 1 line of code.Major Wrote:IS there anyway to make a on error resume next on just 1 line of code?
From my understanding "on error resume next" is bad mojo and would probably be best to find another way around it. What exactly is the problem?
Spodi Wrote:Are you sure the On Error Resume Next wont act below On Error Goto 0 too?Code:Dim SuxArray() As Long
On Error Resume Next
MsgBox Ubound(SuxArray)
On Error Goto 0
The bug is when you open for example counterstrike and have a ms game running. I just want a way around it. I will just add that line of code into a new sub and add a on error resume next there.