How do we add title in each exported sheet(in a single workbook). It is an extension of the below answer - R: easy way to export multiple data.frame to multiple excel worksheets?
Example (My output looks like this)
(In sheet1)
Credit card details of Mr.x
Year Amount Paid
2010 $10,000 $10,000
2011 $20,000 $19,000
(In sheet2)
Population data for the year 2010
Gender % No.
Male 45 12345
Female 55 13456
(In sheet-3)
M/S ABC Limites EMPLOYEE Details
Name ID SALARY
P 2 $10,000
Q 3 $20,000