I want a write small program which does follwoing three tasks.
1) Open master excel file from C:\Test.xls.
2) Save As the master drawing with c:\Test_Now().xls
3) Open new save as file and select tab "Data" and bind B6, B9 and C10 feilds from database.
I know how to pull data from database but don't know how to open and save the excel file and then select cell and copy database value to the cell.
Any Example or sample code.
1) Open master excel file from C:\Test.xls.
2) Save As the master drawing with c:\Test_Now().xls
3) Open new save as file and select tab "Data" and bind B6, B9 and C10 feilds from database.
I know how to pull data from database but don't know how to open and save the excel file and then select cell and copy database value to the cell.
Any Example or sample code.