- Raman Dhillon
- PowerBuilder
- Friday, 7 July 2023 09:44 PM UTC
We have application that saves reports to Excel file using Oleobject and does data formatting after file is saved. This stopped working after MS Office was uninstalled form Citrix server due to company new policy. The file does get saved but error on any excel related function call.
For example, there is error file is to open in PowerScript:
lole_excel = Create OLEObject
ll_ole_handle = lole_excel.ConnectToNewObject("excel.application")
lole_excel.Application.Workbooks.Open(file1.xls)
Error text = Error accessing external object property application .....
Is there any workaround for this issue when MS office is not there on the host server? May be PB provide inbuilt Excel DLL or plug-in? We are on PB 2022 version
Thanks in advance for your help.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.