ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cannot Expand Named Range - when size of the Range exceeds (https://www.excelbanter.com/excel-discussion-misc-queries/34198-cannot-expand-named-range-when-size-range-exceeds.html)

Snig

Cannot Expand Named Range - when size of the Range exceeds
 
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.


Dave Peterson

You have a response in .misc

Snig wrote:

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.


--

Dave Peterson


All times are GMT +1. The time now is 08:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com