On Wed, 2008-10-22 at 22:04 +0000, ceo@xxxxxxxxx wrote: > The easiest solution is to output CSV, and use the Content-type to force it to be eXcel. > > > > Excel will suck the CSV in just fine, with minimal hassle by the user. > > > > It also makes a file that is useful for many more applications, not just Excel. > I don't think this is right for the situation, as you'll see if you re-read the original question. He wants to preserve things like column widths, and I know for a fact that Excel will not automatically expand all columns to best fit the data, and CSV is a pure data format, so will not do here. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php