View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
phil phil is offline
external usenet poster
 
Posts: 201
Default Ignore macro run time error

Iget the following error message

"Run Time error 1004
Unable to get the legendentries property of the legend class"

This occurs when users enter invalid parameters for a query that fetches
data for a pivot table, among other stuff.
Can the macro ignore the error so users are not tempted to debug the macro
code? The macro can then complete and the user can input valid parameters.