Hello,
In Word, I recorded a new macro to insert a table that exists in Quick Tables, which is Calendar 1, but when I run the macro by using the shortcut of the macro that I set before, it appears an error message and the macro doesn't work. As I know to solve this problem I have to click on the "Quick Tables" button, but this is a temporary solution because when I close the Word and open it again, the problem comes again and the macro doesn't work. See the following pictures for clarifying.
This is the table that I want to insert by the macro:

These are the commands of the macro the I recorded to insert the table:
Sub Macro41()
'
' Macro41 Macro
' Macro of Ctrl+. to insert from Quick Tables
'
Application.Templates( \_
"C:\Users\Ahmed\AppData\Roaming\Microsoft\Document Building Blocks\1033\16\Built-In Building Blocks.dotx" \_
).BuildingBlockEntries("Calendar 1").Insert Where:=Selection.Range, \_
RichText:=True
End Sub
This is the button that I have to click on it to solve the problem temporary, and this option is existing mainly in the "Insert" Tap from "Table" button:

This is the error message that appears when I run the macro, yes it's disappear when I click on the pervious button, but when I close the word and open it again, the problem comes again:

Do you know how to modify the macro or any way to make the macro inserts the table without finding this error message?