I have one workstation at my office that cannot run macros. Macros run on all other workstations, all workstations have the same macro preferences and all workstations have the same versions of the Microsoft office suite.
Any ideas on what could cause this?
If you need more info let me know, I will update this question as much as possible.
SolidworksApi/macros
Check this: SOLIDWORKS Macros Troubleshooting: Issues And Resolutions
I cannot open the macro from the shared drive, according to the user:
This issue happens frequently but sometimes the macros function, this has caused the user to not attempt to use the macros most of the time.
This is an issue because going forward I intend to use Macros to standardize our drawing files.
I don't know if you mean UNC path within the macro. The macros themselves sometimes contain paths for external references (Block inserts/Sheet formats) but those all reference the shared drive and work on all other workstations.
Sorry if I missed what you were actually asking, network/drive management is not an area I am familiar with.
Yes, the user has full access to the folder and all permissions to everything inside of it.
Are the permissions set correctly on the network macros folder/files?
Do you specify UNC path, i.e. //path or it is a mapped drive? Also if you want to manage your macro library in the multi-user environment check this add-in:
Are you able to open the macro in SW and run it in debug mode?
I copied the whole macro folder to the user's desktop and they do run when that is done. So now I know it is a network issue. Either solidworks isn't allowing a macro to run from the network or the network isn't letting solidworks access the macro.
See if the macro run on local drive.
VBA, macro is on our network drive
Which kind of macro?
VBA?
VSTA?
Macro on network drive?
I don't think attaching the macro would work as it isn't a single macro issue. The user cannot access any macros in the library even though all other users run them on a nearly daily basis.
When the user clicks on the run icon and the macro library opens up, they then select a macro and when they try to run it a message box pops up saying that they cannot open that file. The user is actually a manager and has more permissions than any other user so I don't think it is a file location issue.
I'll see if I can get an error code off of them. I got it working once by playing around with their settings but the next day the macros still didn't run and the settings hadn't reverted. (I wish I could remember exactly what I had done but it was a month before I posted the original question.
Please provide more information about behaviour (i.e. nothing happens, error happens). Try to open and debug macro. Perhaps attach macro, if possible.
Thanks for the link, I checked through the links and none of them seemed to apply to my coworker. The closest one was the first suggestion but that is for a different format than what our macros are done in (.dll as opposed to what we use .swp) so the fix doesn't work for our format.