You need to sign in to do that
Don't have an account?
KMK91
I have a custom button, if click on button i have to export 2 million records in Excel Sheet? How?
ForceBurger
First off, Excel can't handle 2 million rows. You could try this: https://help.salesforce.com/apex/HTViewSolution?id=000003176 , but 2 million records might time out. You could use APEX to a CSV file (help here: https://developer.salesforce.com/forums/?id=906F00000008xtsIAA & here http://salesforce.stackexchange.com/questions/25077/command-button-to-export-to-csv), but again very large size data. You should use an integration tool to move that much data.