I have detected the following error, if I remove on error resume next:
Run-time error '5941' occurred: Set element does not exist.
Code:
Sub MacroDinicio()
'On Error Resume Next
Application.Templates("Ruta").BuildingBlockEntries("INICIO Y EXPOSICION DE HECHOS").Insert Where:=Selection.Range, RichText _
:=True
Sub end