Skip to content

Instantly share code, notes, and snippets.

View fsteeg's full-sized avatar

Fabian Steeg fsteeg

View GitHub Profile
@fsteeg
fsteeg / oo_cell_properties_macro.txt
Created January 11, 2017 13:33 — forked from mrdwab/oo_cell_properties_macro.txt
Cell-properties as function-results
REM ***** BASIC *****
Function CELL_NOTE(vSheet,lRowIndex&,iColIndex%)
Dim v
v = getSheetCell(vSheet,lRowIndex&,iColIndex%)
if vartype(v) = 9 then
CELL_NOTE = v.Annotation.getText.getString
else
CELL_NOTE = v
endif
End Function