Como usar On Error Resume Next para evitar varios errores posible en mi macro
Tengo un código que he hecho con la grabadora de macros y otras cosas que he investigado en esta pagina, todo funciona bien hasta que un dato no aparece, allí me marca error y no se como evitar ese error, quiero decir como saltarme el error y que la macro continué.
Lo que quiero hacer es que cuando no escuentre "despensa" se pase a la parte donde busca el siguiente palabra "maxi" y asi sucesivamente con todas las palabras que busco. Si me pudieran ayudar para saber como utilizar "On Error Resume Next" u otra forma para evitar que la macro se detenga cuando no encuentre esas palabras.
Esta es la macro.
Sheets("TABLAS").Select
Columns("U:U").Select
Selection.Find(What:="DESPENSA", after:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Offset(0, 2).Resize(Selection.Rows.Count - 1, _
Selection.Columns.Count + 2).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("NDS").Select
Range("H90").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("TABLAS").Select
Columns("U:U").Select
Selection.Find(What:="MAXI", after:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Offset(0, 2).Resize(Selection.Rows.Count - 1, _
Selection.Columns.Count + 2).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("NDS").Select
Range("H62").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("TABLAS").Select
Columns("U:U").Select
Selection.Find(What:="PAIZ", after:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Offset(0, 2).Resize(Selection.Rows.Count - 1, _
Selection.Columns.Count + 2).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("NDS").Select
Range("H4").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("TABLAS").Select
Columns("U:U").Select
Selection.Find(What:="WALMART", after:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Offset(0, 2).Resize(Selection.Rows.Count - 1, _
Selection.Columns.Count + 2).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("NDS").Select
Range("H45").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("TABLAS").Select
Columns("U:U").Select
Selection.Find(What:="CLUBCO", after:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Select
Range(Selection, Selection.End(xlToRight)).Select
Selection.Offset(0, 2).Resize(Selection.Rows.Count - 0, _
Selection.Columns.Count - 3).Select
Selection.Copy
Sheets("NDS").Select
Range("H59").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End If