Hey Guys,
I don't think that I was quite clear.
Using a range object, is there a quick way to blast the data into a
datatable?
For example, using a range object, one can dump the data to an array. Is
there a way to do something similar with a range object and a datatable?
Is there a quick way to dump the data from an array into a datatable?
I won't be using connection strings, etc. I will be using range objects.
Thanks & Regards,
TC
> ¤ Hey All,
> ¤
[quoted text clipped - 13 lines]
> ~~~~
> Microsoft MVP (Visual Basic)
Cindy M. - 03 Nov 2006 13:28 GMT
Hi TCook,
> For example, using a range object, one can dump the data to an array. Is
> there a way to do something similar with a range object and a datatable?
Not a .NET datatable, no. Excel (like most "traditional" Office apps) is
blissfully ignorent of all things .NET. Putting the range data into an
array, then that into the data table is probably your fastest choice if you
can't use a connection.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)