On Error GoTo 0 'return error-handling to Excel If ws Is Nothing Then MsgBox "Worksheet not found" Else MsgBox "Found it!"
確定! 回上一頁