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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unique Criteria Search Problem

Status
Not open for further replies.

tinmar

Technical User
Mar 24, 2003
55
HK
I have a front sheet with some names on it, and I have created a control box for the user to pick a name. I then have a macro which grabs that name and does a criteria search for some data on another sheet based on Name and date. However, if for that date, the name picked has no entries, my macro crashes, is there someway to overcome this.
 
my macro crashes
Which macro ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 


Hi,

Use the On Error statement to trap any error and code to recover.

Skip,

[glasses] [red]Be Advised![/red] A man who jumps from a bridge in Paris, is…
INSANE! [tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top