Bruno,
The following information may be of use to you:WCB_GET_WKS_SIZE
lpstr1 = a far pointer to an array of LONG.
lpstr2 = 0L.
Comment:
The hWnd parameter specifies the worksheet. The first element pointed to by lpstr1 is the number of rows and the second the number of columns. Note that the number of rows reflects the number of rows in the first column and this includes only the cells that hold data and is thus different from WM_DLL_GET_WKS_DIM.
If you continue to have problems developing your application, you might want to check out our consulting services.
[This message has been edited by rtoomey (edited 08-10-99).]