I have created loads of custom tools for our firm over last years.
Most of them are created in python.
All users (about 20) have the same offce installed on their PC
Microsoft Office LTSC standard 2021.
Most tools have a few lines dedicated to a module called xlsxwriter:
clr.AddReferenceByName('Microsoft.Office.Interop.Excel, Version=18.104.22.168,Culture=neutral, PublicKeyToken=71e9bce111e9429c')
Just 1 out of all the users gets an error message when running a script.
Does anybody have an idea what the problem could be?
I had a slightly different issue at a client, repairing the excel install did the trick
Thanks for the suggestion!
But until yesterday he had Office 365 and the tools had the same problem in that version for him.
So we installed this version of excel yesterday and it still does not work.
and same installation of pyRevit?
the module should be accessible here
%appdata%\pyRevit-Master\site-packages in common pyrevit installs
The file folder for xlsxwriter was empty on my collegues system!
I removed Pyrevit and deleted all folders and did a reinstall.
It seems to have worked.