Inserting OLE object by using macro

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
SanchoPanza
Posts: 5
Joined: Tue Mar 21, 2017 7:46 am

Inserting OLE object by using macro

Post by SanchoPanza »

I need to use macro to insert a ole object from a specified path to a cell in calc. I couldn't find a way to do it. I've also tried to record a macro while I was inserting an ole object but It didn't help. Any ideas? Thanks.
Macro is more clearly defined below:
Insert -> Object -> OLE-Object -> Create from file (e.g. filename of Calc-table) & Link to file = yes

Edit: To be more clear, I'm sharing the exact same problem with this question owner: https://ask.libreoffice.org/en/question ... readsheet/
OpenOffice 4.1.3 on Windows 10
Post Reply