I have the function from Function accessing cell range (repeated here):
public function CHECKBZRANGE(vCellRangeValues as variant) as integer
dim i as integer
dim vCellValue as variant
for each vCellValue in vCellRangeValues
msgbox vCellValue
i = i + 1
next
CHECKBZRANGE = i
end function
which used to work in LibreOffice <=6.x.y, e.g. as =CHECKBZRANGE(A6:C9)
. Now in LibreOffice 7.0.0.3 I get this error message
Inadmissible value or data type.
Data type mismatch.
[OK]
in the line
for each vCellValue in vCellRangeValues
I searched for this, but could not find an answer. Is this:
- A new feature of LibreOffice VBA?
- A regression?
How do I access the values of range in a macro function?