VBA Project not Loading

VBA Project not Loading

rlester
Contributor Contributor
944 Views
4 Replies
Message 1 of 5

VBA Project not Loading

rlester
Contributor
Contributor

I have a VBA project that will not load on my computer in Autocad 2021. I get the "Failed to load project from the file" error message. This same vba project is copied to other computers in my office and loads with no problems. What could be the problem?

 

Any help would be appreciated.

 

Thanks,

Rodney

0 Likes
945 Views
4 Replies
Replies (4)
Message 2 of 5

CodeDing
Mentor
Mentor

@rlester ,

 

Do you have the VBA module installed?

Test with this real quick (copy/paste into command line)

(if (or (member "AcVba.arx" (arx)) (and (findfile "AcVba.arx") (arxload "AcVba.arx")))
  (alert "Good")
  (progn
    (alert "Bad/Missing, download VBA module and try again.")
    (startapp "explorer" "https://knowledge.autodesk.com/support/autocad/downloads/caas/downloads/content/download-the-microsoft-vba-module-for-autocad.html")
  )
)
0 Likes
Message 3 of 5

rlester
Contributor
Contributor

Yes. The VBA module is installed.

0 Likes
Message 4 of 5

dlanorh
Advisor
Advisor

Is the project path in the "trustedpaths" system variable, the support file search path or the project files search path?

I am not one of the robots you're looking for

0 Likes
Message 5 of 5

rlester
Contributor
Contributor

Yes. It is in the "Trusted Locations" and the "Support File Search Path"

 

Thanks,

Rodney

0 Likes