You need to sign in to do that
Don't have an account?

how to export data in apex class to excel?
Hi,
I am trying to export the data to excel sheet from apex class.
i know that we can do the export from vocabularies page.but i want that export to be done from apex class.
how can i achieve this?Please help me out.
This is one of the way but not 100% accurate. make sure account names should not contains any commas
Go through this link
http://boards.developerforce.com/t5/Apex-Code-Development/Export-to-CSV-file/m-p/649903#M120406
http://salesforceapexcodecorner.blogspot.com/2012/03/export-in-csv-and-excel-in-apex.html