Basic in Writer

Discuss the word processor
Post Reply
kodos
Posts: 2
Joined: Sun Jan 27, 2008 6:43 pm

Basic in Writer

Post 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
JohnV
Volunteer
Posts: 1585
Joined: Mon Oct 08, 2007 1:32 am
Location: Kentucky, USA

Re: Basic in Writer

Post 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).
kodos
Posts: 2
Joined: Sun Jan 27, 2008 6:43 pm

Re: Basic in Writer

Post 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.
User avatar
Villeroy
Volunteer
Posts: 31363
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Basic in Writer

Post by Villeroy »

Try to do the calculation in Calc and import the result via DDE field.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply