I use one column of the spreadsheet as labes an the next columnt to enter or compute values:
I can use ‘a’ in formula and it works fine - see line labeled result.
But when I try to pass ‘a’, ‘b’ or ‘c’ as arguments to my basic function vol(), it fails.
labels values |----------------|-------------------| | a | 1 | entered number 1 | b | 3 | entered number 3 | c | 5 | entered number 5 | result | 15 | entered formula ='a'*'b'*'c' - works OK | test | | enterd formula =VOL('a';'b';'c') - got error |----------------|-------------------|
I get basic runtime error “Object variable not set”
In debuger I can see, that argument a is variant(1 to 1,1 to 1021). What does it mean ?
function vol is simple example from User-Defined Functions - LibreOffice Help