This example illustrates how to use the Worksheet.Import method to import data to worksheet cells from different data sources (arrays, lists and data tables), and how to format a range of cells as a table (refer to the How to: Create a Table document to get step-by-step instructions).
Question Comments
Added By: Piotr Tworek at: 5/19/2014 1:12:57 AM
Hi
Good solution, but you can not import an ArrayList
for example
Dim ListDataSource As New ArrayList()
ListDataSource.Add(New Record(1, "Jane", 19))
ListDataSource.Add(New Record(2, "Joe", 30))
ListDataSource.Add(New Record(3, "Bill", 15))
ListDataSource.Add(New Record(4, "Michael", 42))
Any idea?
Regards, Piotr