Visual Studio Code – Error: “Programmatic Access To Visual Basic Project Is Not Trusted” when Adding commandbar on VBE by VSTO. (“Trust Access to the VBA Proj…” checked)
I am trying to create a Word VSTO Add-In that adds a commandbar on VBE permanently. My environment: windows 10 (language: Traditional Chinese), office 365 Visual Studio Community 2022 (64-bit) – 17.5.2, .Net Framework 4.8 I have modified the macro…