Create an Excel file from AS/400 or ASP It is possible to create a file that Excel likes without being an actual Excel-formatted file. The trick is to create a HTML file, but named .xls. A template for creating the HTML file: (html xmlns:x="urn:schemas-microsoft-com:office:excel"> (table border="1"> (!-- insert table rows here --> (/table> (/html> Example file excelhtml.xls: (html xmlns:x="urn:schemas-microsoft-com:office:excel"> (table border="1"> (tr> (th>Product Id (th>Description (th>On Hand (tr> (td align="left"> WIDGET-A (td align="left">A Widget (td>0 (/tr> (tr> (td align="left">WIDGET-B (td align="left">B Widget (td align="left" x:str="'00225">00255 (/tr> (/table> (/html> Notes: . Using the 00255 format creates a numeric field with leading zeroes, equivalent to typing '00025 in a cell. . Creating a row will automatically boldface the headings, just as it does in HTML. Ps: sorry for the '<' changed to '(' - but the code render itself as HTML code and wont show up as text (Think400.dk)