CellBounds

Returns the bounds of a specified cell.

CellBounds(x as Integer, y as Integer,
ByRef Left as Integer, ByRef Top as Integer,
ByRef Width as Integer, ByRef Height as Integer)

x, y
The x and y positions of the cell for which you want to find the bounds.

Left, Top, Width, Height
The bounds are returned into those parameters, in local coordinates to the StyleGrid control.

Note
If the cell is not visible on the screen then all returned bounds will be equal to zero.