I can't succeed in using xlwings with an excel workbook on sharepoint (ie not checked out locally).
I see the file on the ROT with a fullname = "https://sharepoint_path/workbook.xlsm"
Calling Workbook(fullname) leads to the stack trace:
Calling Workbook(fullname) leads to the stack trace::
Traceback (most recent call last):
File "C:/.../test.py", line 18, in <module>
Workbook("https://sharepoint_path/workbook.xlsm")
File "C:\...\lib\site-packages\xlwings\main.py", line 49, in __init__
self.xl_app, self.xl_workbook = xlplatform.get_workbook(self.fullname)
File "C:\...\lib\site-packages\xlwings\_xlwindows.py", line 50, in get_workbook
xl_workbook = GetObject(fullname)
File "C:\...\lib\site-packages\win32com\client\__init__.py", line 72, in GetObject
return Moniker(Pathname, clsctx)
File "C:\...\lib\site-packages\win32com\client\__init__.py", line 87, in Moniker
moniker, i, bindCtx = pythoncom.MkParseDisplayName(Pathname)
pywintypes.com_error: (-2147221020, 'Invalid syntax', None, None)
An additional potential issue is with blank space in the name ==> fullname has it as " " but name in ROT is with a "%20".
I can't succeed in using xlwings with an excel workbook on sharepoint (ie not checked out locally).
I see the file on the ROT with a fullname = "https://sharepoint_path/workbook.xlsm"
Calling Workbook(fullname) leads to the stack trace:
An additional potential issue is with blank space in the name ==> fullname has it as " " but name in ROT is with a "%20".