The worksheet has 43 rows, and I import a named range defined as
"=Sheet1!$C:$E". The import works, but I get a table with 64K rows,
all but 43 being blank!
Is there a way to define the range so that only filled rows will be
imported? I don't want to use the last row's address explicitly,
because I will be importing worksheets of varying lengths.
Any help gratefully received (I don't 'do' Excel as a rule)!
Dave
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
<D.S...@ed.ac.uk> wrote in message
news:1185460929....@b79g2000hse.googlegroups.com...
http://www.contextures.on.ca/xlNames01.html#Dynamic
Gord Dibben MS Excel MVP
Cheers,
Dave
I don't believe you can use dynamic named ranges for this. Excel itself
can't/won't resolve defined names referring to formulas (i.e., anything
other than simple, constant range references) in closed workbooks. I suspect
the same would be true for any other application.
How about running an update query on the imported table just after importing
it, deleting all rows with NULL fields?