View Single Post
 
Old 03-21-2022, 06:11 AM
gorkac gorkac is offline Windows 10 Office 2019
Banned
 
Join Date: Jul 2021
Location: Usa
Posts: 62
gorkac is on a distinguished road
Default

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
Reply With Quote