Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27214

problem exporting datgrid values to excel sheet using an array

$
0
0
I am trying to export datagrid values to excel
using an array.. I get an error " ComException
was unhandled " in the following line:

Code:

xlWorkSheet.Range( "A1" ).Resize(DataGridView1.Rows.Count, DataGridView1.Columns.Count).value=myArray

Viewing all articles
Browse latest Browse all 27214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>