Matt,

Try this code

Sub test()
testa
testb
End Sub

Sub testa()
Dim rng As Range
On Error Resume Next
rng = Range("A1")
End Sub

Sub testb()
Dim rng As Range
rng = Range("A1")
End Sub

What exactly do you mean by the secnd part?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Matt Jensen" <ONLYREPLYTONEWSGROUP@microsoft.com> wrote in message
news:eRtTXCN9EHA.4028@TK2MSFTNGP15.phx.gbl...
> What is the 'scope' of On Error Resume Next?
> Is it for a sub, for the next line after the statement only, for a module,
> or for a workbook/project?
> If more than one of these, how does one specify the different ones?
> Thanks
> Matt
>
>