Thread: Error handling
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sarah at DaVita Sarah at DaVita is offline
external usenet poster
 
Posts: 13
Default Error handling

I have a workbook with many sheets. I want to look for specific data and
then do some action. I can get the macro to work until it cannot find what I
am looking for. How do I tell it that if it doesn't find what it was looking
for then to go to a different sub routine? Ie: I am looking for 6301 in
column A if that is not present end sub acct_6301 and go to sub acct_6326
which is looking for a different account if 6326 is found then do something
and then go look for the next one. Clear as mud? Any help would be
appreciated.