My desire is to be able to read the type of content in a specific cell, in a spreadsheet.
This example below, is from "Andrew Pitonyak - Macros Explained" and written in Basic.
Code: Select all
Function GetCellType(oCell) As String
Select Case oCell.getType()
Case com.sun.star.table.CellContentType.EMPTY
GetCellType = "Empty"
Case com.sun.star.table.CellContentType.VALUE
GetCellType = "Value"
Case com.sun.star.table.CellContentType.TEXT
GetCellType = "Text"
Case com.sun.star.table.CellContentType.FORMULA
GetCellType = "Formula"
Case Else
GetCellType = "Unknown"
End Select
End Function
Is it possible to translate this, or something like that to AHK?