Excel range read/write

M

Mr O

Hi,

In VB6 i can use this:
dim aRange() as variant
aRange()=xlapp.range("A1:T25000").value
and read and write 500,000 cells in one single read or write operation.

What is the equivalent to that in vb.net 2010?

tia
O.

olavatwintechdotno
 
C

Cor

Did you try it already with option infer on with

dim aRange =xlapp.range("A1:T25000").value

If it then gives an error put your cursor on xlapp and do Quickwatch, the
complete object is then showed to you.

Success

Cor

"Mr O" wrote in message
Hi,

In VB6 i can use this:
dim aRange() as variant
aRange()=xlapp.range("A1:T25000").value
and read and write 500,000 cells in one single read or write operation.

What is the equivalent to that in vb.net 2010?

tia
O.

olavatwintechdotno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top