+ Start a Discussion

Export to multiple excel files

My issue is I want to export data in code from a button to excel so we can do a mail merge for 10 different word docs. I can export if I do a visual force page but the button can only call one page and I dont see another way of exporting data to excel in code. This is a custom object. Is there a way to export to multiple files?