pivot table is not a query, it is a form.
so the command doesnt work..
may i know how to export the pivot table to excel file? i want the output just like the way of tables export.