Re: [python-win32] pywin can not access excel file

2021-12-13 Thread Dennis Lee Bieber
On Sun, 12 Dec 2021 08:32:01 +, Tamara Abugharbieh declaimed the following: >filename = >'C:AppBackendpublicMSB_202111SYB_10_7_V1.xlsx' > That looks like an awful lot of \s. Unless you are passing that string to a command line/shell, the Windows API i

Re: [python-win32] pywin can not access excel file

2021-12-12 Thread Tim Roberts
On 12/12/21 12:32 AM, Tamara Abugharbieh wrote: We are using winpy32 to automate excel applications using python. The python script will be used by users with no administrator privileges, and in this case, we are getting the following error: pywintypes.com_error: (-2147352567, 'Exception occu

Re: [python-win32] pywin can not access excel file

2021-12-12 Thread Steven Manross
ilename) HTH Steven From: python-win32 On Behalf Of Steven Manross Sent: Sunday, December 12, 2021 6:00 PM To: Tamara Abugharbieh ; python-win32@python.org Subject: Re: [python-win32] pywin can not access excel file Is this a typo on the email or is your production code really referencing filen

Re: [python-win32] pywin can not access excel file

2021-12-12 Thread Steven Manross
= False ExcelApp.DisplayAlerts = False # mixed case wb = ExcelApp.Workbooks.Open("{0}".format(fileName)) From: python-win32 On Behalf Of Tamara Abugharbieh Sent: Sunday, December 12, 2021 1:32 AM To: python-win32@python.org Subject: [python-win32] pywin can not access excel file Hi,

[python-win32] pywin can not access excel file

2021-12-12 Thread Tamara Abugharbieh
Hi, We are using winpy32 to automate excel applications using python. The python script will be used by users with no administrator privileges, and in this case, we are getting the following error: pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, 'Microsoft Excel', \"Microsoft Exc