Cannot install. Occurs when first opening SW after download and initial install. Terminates SW before opening.
We found that uninstalling VSTA allows you to proceed. Otherwise, you may need to re-install VBA7.1 and then repair SOLIDWORKS to have it reinstall them.
The VBA 7.1 components do not show in Control Panel > Programs > Programs and Features. There are two ways to uninstall these components:
1. Right click on the respective MSI files from your source media and choose "Uninstall".
2. Specify an "msiexec /x" command line script. For example, to remove the components on an English machine, run the following two commands:
msiexec /x "<path to MSI>\vba71.msi
msiexec /x "<path to MSI>\vba71_1033.msi
Alternatively, you can specify the component GUID in the msiexec command. you can find the GUID in the Windows Registry Editor at:
Thanks Alex this has resolved my issue.
Have you experienced any issues with Solidworks without having VBA 7.1 installed. It does say that it is a prerequisite?
I can't open solidworks 2014 sp1 on windows 10. I'm getting the failed to initialize ......
but, i can open it in a different windows account on my computer. So i'm really lost at where my issue is with my current account.
thanks for the help.
I dont understand how this works. What is msi file? where do i find it? Sinced i updated Windows 10 (yesterday) ihave this error.
That worked for me SW2015 SPO4. to find the .msi file (Microsoft Installer Package) you can search for it in using the file manager search field. Once the file is found, right mouse click on the file and select open file location to see the files. The vba71 and vba71_1033 (English, the one you need for English, the other versions are for other languages). Once you find the files, uninstall them by clicking on the file, then select uninstall. Do that for both files. Now just start SW, it should run. Yeah!
Thank you Alex.
Ok, I restarted and windows 10 updated... And now I've got this problem.
I searched the C: drive for "vba71" then R-clicked to open it's location on my PC. It was:
C:\Users\ME\Documents\SOLIDWORKS Downloads\SOLIDWORKS 2015 x64 SP05\prereqs\VBA
I then R-clicked and uninstalled the vba71 and vba71_1033.
SW STARTS UP!
Thanks, it worked for me!
In reviewing this I realized that the vba file was in a SW 2015 download folder, and I'm on 2017.
That Solidworks Downloads folder has 6 versions of SW in it and is at almost 10 GB.
Looks like it's ok to delete some of these downloads, as they're just for updating & installing. Prob. good practice to back up somewhere else, just in case.
Deleting "SolidWorks Downloads" Folder
I do not have a file called "vba71" (or any variations thereof) on my computer. For me, SolidWorks was installed from a network drive. The vba71 file exists on the network drive (but of course I can't uninstall it from there) but not on my local computer.
Still unable to run SW2017 after three install attempts. Any other suggestions?
I have the same issue. I am running SW 2017 SP2.0 on Windows 10 Version 1709 (Build 16229.125). This issue only came about after this Windows update was applied.
Here is what I have tried so far to no avail:
-Repair and reinstall Solidworks
-Could not find the vba71.msi and vba71_1033.msi files to attempt to uninstall them. I searched the whole drive, and my computer does not have the C:\Users\Andrew\Documents\SOLIDWORKS Downloads\SOLIDWORKS 2017 SP02\prereqs\VBA folder.
Any advice would be greatly appreciated.
Try to search vba71 in your C:\, i found it this way.
Thanks for the suggestion, but I already tried that and nothing came up.
Yeah, the weird thing was the problematic vba file was in an old (2015) Solidworks folder. I'm on 2017.
I ended up deleting all those old install files after SW was running again.
I got it working on mine. I copied the installation files to my local drive and uninstalled vba71 from there.
Maybe you can find the vba71 file on the 'net somewhere, download it, right-click and uninstall.
Try downloading this update:
Download Microsoft® Visual Basic® for Applications Update - Q822150 from Official Microsoft Download Center
If not, PM me and I'll email you the file.
RMB on SWX Icon >> Properties >> Compatibility tab. Make sure Run in Compatibility mode is unchecked.
Thank you Jackie, this solved the problem.
No problem. Discovered this by accident, this is due to a recent Windows Update and for some reason, compatibility mode gets checked on inadvertently. Your only the second person that I can confirm that ran into this.
Thank you! This fixed my issue as well
Running 2015 SP04. Unchecking compatibility mode did fix the visual basic error and allowed solidworks to launch, but now trying to open or save documents causes solidworks to crash. Everything was working fine prior to the windows updates I got on 12/15/2018. Any ideas?
I would run a repair of the install.
That didn't work for me. Tried uninstalling and reinstalling.
Uninstalling vba71.msi worked and possibly unchecking "run in compatibility mode".
I have a similar problem after updating Windows.
I tried all possible solutions and I got two partially working options:
1) Disabled the compatibility mode. Solidworks starts, opens files via the R button, runs VBA and runs macros, but it is impossible to create a new file and save it.
2) I switched on the compatibility mode. Removed VBA71. Everything works as before, but I can not use macros. When you try to create or open a macro, SolidWorks closes with an error
Is there a regency that solves all problems?
Problem definitely occurred with a Windows 10 update. SW was working yesterday, computer updated during the night and the problem showed up the next day. Unchecking compatibility mode solved the problem (I did not try any of the other posted solutions prior to this one) and not having any issues file new and save. Running SW 2016 with SP 5.
Thanks for your help!
I have a similar problem after updated Windows 10
But try this.
Remove VBA 7.1 Firstly.
Please follow these steps:
Can you use macros in SolidWorks?
Retrieving data ...