Eric,

What you could do is register the whole table ( do not specify a range) and 
the take a row count of that table. Your new row number will be that 
number. Then you close the table and re-register. That same principle can 
be applied to columns.

Regards

Martin Hodder
Dataview Solutions


----------
From:  Eric Bonte
Sent:  17 March 1999 07:50
To:  MAPINFO Mailing List
Subject:  Re: informations on Excelsheet in MI

Shame on me,

I want to register an Excel spreadsheet in a MAPBASIC program.
And the information for the range of cells is in the name of the first and
unique spreadsheet.
For example the Excel spreadsheet's name is AK1128 because the las column 
is AK
and the last row is 1128.
and in mapbasic we can use :
 Register Table "C:\DATAS\locations..xls"  TYPE XLS Titles  Range
"AK1128!A2:AK1128" Into "C:\DATAS\locations.TAB"
But, next time it will be AJ1128 or AK1129 and the name of the spreadsheet 
will
change : How to program the register fonction by using the name of the
spreadsheet ?


E.BONTE.
--



----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to