Nov 8, 2002 #1 juschuma Programmer Oct 23, 2002 18 0 0 US I do a macro on a selected range, but it errors out if the range contains no data. What's the appropriate error checking to do to allow me to put an error message in? Thanks.
I do a macro on a selected range, but it errors out if the range contains no data. What's the appropriate error checking to do to allow me to put an error message in? Thanks.
Nov 8, 2002 #2 DaleWatson123321 Programmer Jun 12, 2001 1,788 0 0 CA This should work... If Activecell.Value = "" Then Msgbox ..... Hope this helps. Please advise as to how it fits. Regards, ...Dale Watson dwatson@bsi.gov.mb.ca Upvote 0 Downvote
This should work... If Activecell.Value = "" Then Msgbox ..... Hope this helps. Please advise as to how it fits. Regards, ...Dale Watson dwatson@bsi.gov.mb.ca