[Solved ] Calc. Run macro when specific sheet is selected

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
72saab
Posts: 3
Joined: Thu Apr 27, 2017 1:06 am

[Solved ] Calc. Run macro when specific sheet is selected

Post by 72saab »

I have a calc spreadsheet containing several sheets. I want to run a macro automatically whenever a specific sheet is selected but I can't find an event for this.
Last edited by 72saab on Thu Apr 27, 2017 4:16 am, edited 3 times in total.
OpenOffice 5.2 on Ubuntu 17.04
72saab
Posts: 3
Joined: Thu Apr 27, 2017 1:06 am

Re: Calc. Run macro when specific sheet is selected

Post by 72saab »

Nevermind.. Found it by right clicking sheet tab, then 'Sheet Events', then 'Activate Document'.
OpenOffice 5.2 on Ubuntu 17.04
Post Reply