Greetings,<BR>I know its possible to create an excel file via sql and a db, but is it also possible to automatically create a pivot table with the fields I want? If so, where is a good place to look for help? There arent many good books out there for creating excel files, let alone pivot tables.<BR><BR>Jason