I have a requirement - To add column for serial numbers like 1,2,3 to the rows in excel.
I am trying to fetch a Salesforce record and generating a Drawloop document in Excel sheet. The excel sheet may have 2 rows or 10 rows. I want to add a column to the sheet which shows the serial number of the rows.
Could anyone please help me?
Thanks for your help in advance.