Syntax
| strName =XLS.CellName(Row, Col)
| ||||||
---|---|---|---|---|---|---|---|
Description
| This function returns the cellname for the given numeric coordinates. It can be used as a conversion tool to create cell referencing in Excel formula's.
Note: this method requires an numeric values for row and column definition. De leftmost upper cell in a worksheet, referred in Excel by with cellname "A1" equals row 1 and col 1.
| ||||||
See Also
| |||||||
Example
| Sub Main
Dim strName As String
If Not XLS.AppInit() Then Exit Sub
XLS.AppVisible = True
strName = XLS.AddWorkBook()
Debug.Print XLS.CellName(2,2) 'B2
XLS.CloseWorkBook
XLS.AppClose
End Sub
| ||||||