3
Answers

how to export datagrid data into excel ??

onlybhavin

onlybhavin

19y
2.1k
1
Hi, I m developing WINDOWS application. In this I m using XML to fill DATAGRID. Now I want to export this datagrid data into Excel sheet. But I have no idea how to do it? Can one guide me ??? send me code please. Thank you, bhavin
Answers (3)
0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 13y

excelSheets = excelWorkBook.Sheets("Sheet1")
excelSheets.Activate()
excelSheets.Shapes.Item(1).ControlFormat.List

Like this way you can find the different shapes (controls). Put a break point and check the values..