My archaic company has yet to upgrade to SAS 9 (and the benefits therein for exporting to Excel). As such, we have problems, which I'm hoping you folks can help with!
Firstly, the way we do things at the moment mean that we issue commands in SAS to open Excel and then use PUT commands to write data to predefined Excel templates. These jobs run overnight on a local PC, but will only work if the PC is unlocked; if it's locked when attempting to run this scheduled task, we get an error message in Excel saying that there are "Not enought system resources to display the data", even if the data we're attempting to write to Excel is very small - perhaps only a couple of rows or columns. Any idea why this happens when the machine is locked? (Our IT dept is clueless!)
That said, the absence of useful tagsets in SAS 8 (such as the ExcelXP) makes it difficult to export good looking, multiple-tabbed sheets to an Excel workbook, without having to open up Excel (and thereby creating the problems above!). I've managed to use a nice template and the ODS (HTML option)to create good output to a single-sheet Excel workbook (effectively a HTML file, but with an XLS extension). This avoids having to open Excel and the problem mentioned above.
So, any ideas what's causing the first problem and how to fix it, or/and how to get good looking, multiple-tabbed Excel files from SAS 8 into Excel 2000, without having to open Excel and use PUT commands?
Desperate for help!
Cheers
Rich
Firstly, the way we do things at the moment mean that we issue commands in SAS to open Excel and then use PUT commands to write data to predefined Excel templates. These jobs run overnight on a local PC, but will only work if the PC is unlocked; if it's locked when attempting to run this scheduled task, we get an error message in Excel saying that there are "Not enought system resources to display the data", even if the data we're attempting to write to Excel is very small - perhaps only a couple of rows or columns. Any idea why this happens when the machine is locked? (Our IT dept is clueless!)
That said, the absence of useful tagsets in SAS 8 (such as the ExcelXP) makes it difficult to export good looking, multiple-tabbed sheets to an Excel workbook, without having to open up Excel (and thereby creating the problems above!). I've managed to use a nice template and the ODS (HTML option)to create good output to a single-sheet Excel workbook (effectively a HTML file, but with an XLS extension). This avoids having to open Excel and the problem mentioned above.
So, any ideas what's causing the first problem and how to fix it, or/and how to get good looking, multiple-tabbed Excel files from SAS 8 into Excel 2000, without having to open Excel and use PUT commands?
Desperate for help!
Cheers
Rich