Dear All,
I have a number of scheduled tasks that run an Access module which:
* Runs and exports a crystal report as an Excel file
* Loads the exported file in Excel and applies standard formatting (bold font, size etc)
* Saves and closes the Excel sheet
This code runs perfectly, except when my PC is locked, which happens after 20 minutes of inactivity due to corporate Registry setup.
When the PC is locked the report is run\exported fine and loads in Excel. However, as soon as the report is loaded in Excel the error message "Not enough system resources to display completely" is output, which causes the code to hang. The sheets I'm working with don't have a large amount of data and run perfectly when the PC isn't locked.
If anyone could help me with any suggestions I'd be very grateful.
Thanks in anticipation
Ben Cooper
I have a number of scheduled tasks that run an Access module which:
* Runs and exports a crystal report as an Excel file
* Loads the exported file in Excel and applies standard formatting (bold font, size etc)
* Saves and closes the Excel sheet
This code runs perfectly, except when my PC is locked, which happens after 20 minutes of inactivity due to corporate Registry setup.
When the PC is locked the report is run\exported fine and loads in Excel. However, as soon as the report is loaded in Excel the error message "Not enough system resources to display completely" is output, which causes the code to hang. The sheets I'm working with don't have a large amount of data and run perfectly when the PC isn't locked.
If anyone could help me with any suggestions I'd be very grateful.
Thanks in anticipation
Ben Cooper