Problem to enable project of Microsoft Visual Studio

Asked By 0 points N/A Posted on -
qa-featured

I have faced a problem on using the Microsoft Virtual Studio. Any project of the Microsoft Visual Studio could not be enabled. The error message is given below:

Programmatic access to the Microsoft Office Visual Basic for Applications project system could not be enabled. If Microsoft Office Word or Microsoft Office Excel is running, it can prevent programmatic access from being enabled. Exit Word or Excel before opening or creating your project.
 
How can I get out from such problem?
 
Thank you.
SHARE
Answered By 0 points N/A #85216

Problem to enable project of Microsoft Visual Studio

qa-featured

You can try to solve your problem by enabling your access to the project system of Visual BASIC for Applications or VBA.

You can enable your VBA by opening Microsoft Excel or Microsoft Word and click to the “Macro” in the “Tools” then press down “Security” now press the tab of “Trusted Publishers” choose the box right next to the “Truth access Visual Basic project” and then press “OK”.

Now shut off all the open Office applications and try to re-run the project.

You can also enable your Visual Basic in your Excel.

Start opening your Excel then press down the button of “Office” and press the button of “Excel” menu option then on your left menu tap down “Trust center” then choose “Trust Center Settings”.

An open window will display, right then choose “Macros” then mark the box right next to the “Trust Access” which is “VBA project object model” then press down “Ok”.

Lastly, shut off all the open office application and try to re-run the project.

Related Questions