Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Obtaining an object name from a run time error 1

Status
Not open for further replies.
Jul 6, 2005
52
GB
Does anyone know if there is any way to obtain the name of an object that causes an ‘object exists (3012)’ or ‘can’t find object (7878)’ run time error? I want to create an error handling routine that requires me to know the name of the object that is causing the error. Thanks.
 
barrysprout,
Have you tried the [tt]CodeContextObject[/tt]?

CMP

(GMT-07:00) Mountain Time (US & Canada)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top