Visio 2013 - VBA not installed or cannot be initialized

Andy Lewis 1 Reputation point
2021-03-25T19:27:08.137+00:00

I get this error when trying to invoke Macros in Visio Professional 2013.

Visio Management
Visio Management
Visio: A family of Microsoft products used to create diagrams and vector graphics.Management: The act or process of organizing, handling, directing or controlling something.
233 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 10,616 Reputation points Microsoft Employee
    2021-03-26T09:09:45.66+00:00

    Hi @Andy Lewis ,
    What kind of installation method did you use to install Visio?
    Did you install Visio standalone version or contain in Office suit?
    I suggest you go to Control Panel- Programs and Features- Right click the Visio or Office and select Change- select Add or Remove features- make sure the Visual Basic for Application is available:
    81853-microsoftteams-image-5.png

    If the method is not for you or you're using Click-to-Run installation method Visio, I suggest you run a repair online:
    https://support.microsoft.com/en-us/office/repair-an-office-application-7821d4b6-7c1d-4205-aa0e-a6b40c5bb88b

    Any updates please let me know and I'm glad to help you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments

  2. Andy Lewis 1 Reputation point
    2021-03-31T00:28:42.323+00:00

    No, it did not work. I've tried un-installing and re-installing and rebooting.
    Visual Basic for Applications was already fully installed each time.
    It seems to be missing some VBA dll files or registry maybe?

    82924-visio-error.jpg

    No comments

  3. Raphael LAZZARI-ARMOUR 1 Reputation point
    2022-08-06T15:56:29.453+00:00

    Hello, I have the same issue that you had.
    Tried reinstalling every thing and VBA looks installed in the controlled panel.

    Where you able to fix your problem ?

    Hope you figured out a solution to share...

    Raph

    No comments