Cannot Expand Named Range - when size of the Range exceeds

S

Snig

Hi

I've an excel sheet which contains a number of Named Range. I need to
add a number of records in each range. I'm using VB.NET and ODBC to add
rows.

It adds records properly when the number of records are inside the
Named Range. But when the number exceeds - it generates error "Cannot
Expand Named Range". I don't know how many number of rows to be added
in each range - so I cannot preset the size of the range.

What is the work-around?

Thanks...
Snig.
 
D

Dave Peterson

You have a response in .misc
Hi

I've an excel sheet which contains a number of Named Range. I need to
add a number of records in each range. I'm using VB.NET and ODBC to add
rows.

It adds records properly when the number of records are inside the
Named Range. But when the number exceeds - it generates error "Cannot
Expand Named Range". I don't know how many number of rows to be added
in each range - so I cannot preset the size of the range.

What is the work-around?

Thanks...
Snig.
 

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