I want to pass a Range from the Sheet to the Function defined using the Basic programmer. Say polynomial coefficients for x and y variables of power 4. so 2x5 Array.
Then I want to reference individual elements from the Array into the function procedure to use for calculations. e.g different coefficients of
the polynomial.
I would appreciate an example please
[Solved] Basic Programming Custom Function Using Array
[Solved] Basic Programming Custom Function Using Array
Last edited by robleyd on Sat Jul 22, 2023 11:04 am, edited 1 time in total.
Reason: Tagged [Solved]. Add green tick
Reason: Tagged [Solved]. Add green tick
Ala Mustafa Mohamed
Open Office 4.18
Windows 11 Home
Open Office 4.18
Windows 11 Home
Re: Basic Programming Custom Function Using Array
https://wiki.openoffice.org/wiki/Docume ... to_a_macro
Modified sample:
Note: Only the Cell values will be passed to the user defined Basic function, but will not be passed the other parameters of the Cell range (like the coordinates of the passed cells)
Modified sample:
Note: Only the Cell values will be passed to the user defined Basic function, but will not be passed the other parameters of the Cell range (like the coordinates of the passed cells)
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Basic Programming Custom Function Using Array
Thanks. Much appreciated. I was able to solve my problem
Ala Mustafa Mohamed
Open Office 4.18
Windows 11 Home
Open Office 4.18
Windows 11 Home