For some reason in some of the office computers, I can not open, create or run any macros? is any one know what can be the reason?
In earlier version it was due to Microsoft KB KB3072630 but since you're using 2018, I'm not sure of that can be the case. But try the solution stated by SW tech support here Instability in SOLIDWORKS due to conflict with Microsoft KB3072630
Nick has also made a script for fixing KB3072630, see this post https://forum.solidworks.com/message/728101#comment-728101
I have not seen this before. Does this computers have multiple code writing software installed on the computers?
Check windows user account control settings.
Also make sure .net 3.5 is installed. Programs, turn windows features on or off .
We also face similar issue after migrating from SW 2015 to SW 2017.
It was due to some changes in Registry of Solidworks which is linked with current user even current user has the admin right.
We tried to log-in with different user and it works fine. (We logged into local machine's admin user)
Tried to use different user on same machine.
After encountering this issue we stop depending upon the macros and we ourselves went ahead and start consolidating all the macros into one single add-in using c#.
This makes our add-in immune to version change and we did not face this issue again.
Thanks everyone, I tried and did repairs with multiple service pack and one of them fixed the issues.
And yes it is an older version of Solidworks. The company has 2018 on some computers and still some are running on older versions and are on plan to transit gradually.
Retrieving data ...