Accessing a Calc sheet on a Server with Macro

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
Amylase
Posts: 32
Joined: Mon Jul 09, 2018 8:02 pm

Accessing a Calc sheet on a Server with Macro

Post by Amylase »

Hello,

I have been reading stuff here for a long time and found everything I have been looking for until now. Here is my question, unfortunately I think based on what I have read so far it is not possible but here it goes:

I have a macro in basic for a calc sheet that I want to use the data for a website. The dates update realtime which is great but the macro wont update or even run for that matter. I don't want the sheet downloaded from the website. I would just like the macro to run before website viewers see the data. Does anybody know how to do this?

Thank you soooo much!!
Last edited by Amylase on Thu Oct 18, 2018 8:43 pm, edited 2 times in total.
OpenOffice 4.1.7, Windows 10
User avatar
RoryOF
Moderator
Posts: 34613
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Accessing a Calc sheet on a Server with Macro

Post by RoryOF »

How does the macro know that web-viewers are coming online? Why not trigger the macro from a timer or after the realtime update of the data?
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Amylase
Posts: 32
Joined: Mon Jul 09, 2018 8:02 pm

Re: Accessing a Calc sheet on a Server with Macro

Post by Amylase »

As the webpage refreshes each time it is opened, I hoped that would be enough.

I could give a timer a try...

Thank you
OpenOffice 4.1.7, Windows 10
Amylase
Posts: 32
Joined: Mon Jul 09, 2018 8:02 pm

Re: Accessing a Calc sheet on a Server with Macro

Post by Amylase »

The timer worked great until I uploaded it on the server. It still won't recalculate/refresh. Any other ideas? Thank you
OpenOffice 4.1.7, Windows 10
Post Reply