G
Geoff K
Hi
My grateful thanks - the GetArrayLastDataRow method works now, UsedRange
flaws or not. <g> Excellent stuff.
For the avoidance of doubt due to the number of varaitions I think it might
be useful to others perhaps if you were to post the finished code?.
However one thing remains - wsheet names:
Because wbks are closed I do not know the sheet name and your solution uses
"Sheet1" in the SQL but names are changed from the default albeit
occasionally.
I trap this error currently but it would be good to have avoid this issue.
I've recently been evaluating the conversion of my application to Delphi and
noted it has a very useful function called "GetTableNames". This will read
wsheet names and easily overcomes the renaming of sheets issue as far as the
SQL query is concerned.
Are you aware of a way to do this in VBA?
Geoff
My grateful thanks - the GetArrayLastDataRow method works now, UsedRange
flaws or not. <g> Excellent stuff.
For the avoidance of doubt due to the number of varaitions I think it might
be useful to others perhaps if you were to post the finished code?.
However one thing remains - wsheet names:
Because wbks are closed I do not know the sheet name and your solution uses
"Sheet1" in the SQL but names are changed from the default albeit
occasionally.
I trap this error currently but it would be good to have avoid this issue.
I've recently been evaluating the conversion of my application to Delphi and
noted it has a very useful function called "GetTableNames". This will read
wsheet names and easily overcomes the renaming of sheets issue as far as the
SQL query is concerned.
Are you aware of a way to do this in VBA?
Geoff