From the 2006 help files:
Returns the row and column indexes of the cells in a subselection set.
See Also | Example
Signature
object.GetSubSelection(rowMin, rowMax, colMin, colMax)
Object
Table
The object or objects this method applies to.
rowMin
Long; zero-based minimum row index for the subselection set of cells in the table
rowMax
Long; zero-based maximum row index for the subselection set of cells in the table
colMin
Long; zero-based minimum column index for the subselection set of cells in the table
colMax
Long; zero-based maximum column index for the subselection set of cells in the table
Remarks
This method gets the row and column indices of the cells in the subselection set. The total number of selected cells is equal to (rowMax - rowMin + 1) * (colMax - colMin + 1)
Note that the example link points to code for adding a table, but doesn't say anything about this method
I'm getting the following when I try this:
temp
(#<VLA-OBJECT IAcadTable2 1269a4d4> (57 4) (41 1))
_2$ (setq temp2 (vla-getsubselection (car temp) 41 57 1 4))
; error: Automation Error. Description was not provided.
_3$
Any suggestions welcome
Mike Weaver