Page 1 of 1
Basic in Writer
Posted: Sun Jan 27, 2008 6:48 pm
by kodos
Hi
Is it possible to call a BASIC function from a table cell in writer?
For example can I write someting like:
=MyFuntion(<B3>)
When I try this, Writer simply writes the paramter in that cell, and doesn't call MyFunction.
kodos
Re: Basic in Writer
Posted: Sun Jan 27, 2008 8:43 pm
by JohnV
I was not able to do this in a Writer table cell but if it suits you purpose you can do Insert > Object > OLE Object > Spreadsheet. Then with the spreadsheet active you can define your function within it (the function already defined within the Writer document will not be seen by spreadsheet).
Re: Basic in Writer
Posted: Mon Jan 28, 2008 1:09 am
by kodos
Ok, I tried that, but the problem is that I have a few tables, and I need values from one table in the other tables. I didn't find a way to do that. If I insert an OLE Object I can just use the cells in that specific table.
Re: Basic in Writer
Posted: Mon Jan 28, 2008 2:57 am
by Villeroy
Try to do the calculation in Calc and import the result via DDE field.