I would then suggest that you need to re-think your approach. Excel is not a <insert whatever task you can think of> tool. Whilst you could do this, i.e. have a base Excel file, then each day you export your SAS data to CSV, and that base Excel file opens the CSV data and posts it into the base file (using VBA), I can't recommend this approach. Excel is limited in many ways, one being the number of tabs which you will hit pretty quickly. Secondly will anyone actually ever look at the data. This is my biggest gripe. So much data gets dumped into Excel which no-one ever looks at. Is this for data transfer purposes, i.e. will someone else have to import and work with the data, then use a proper data transfer format (CSV, XML etc.). If this is a report, do people really want to see thousands of rows of data on numerous sheets, I personally wouldn't look at it. Consider summarising, grouping, graphing, or somehow reflecting the data in a easy to read format, then people might take notice of it. If its just a dump, then proc report it to a PDF file and be done with it. You will note that for the three options, Excel is not mentioned...
... View more