Cannot install. Occurs when first opening SW after download and initial install. Terminates SW before opening.
Cannot install. Occurs when first opening SW after download and initial install. Terminates SW before opening.
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!
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.
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.
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!
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:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"