How can I cause a macro to be automatically executed when a particular slide opens in Impress?

I’d like to cause a macro to be executed when a particular slide is displayed. Is there an easy way to do that?

Still no answer to this? Is it not possible?

You can make Button in the slide.

Right Click on an element of the slide, Click ‘Interact’

You can find what you want there

That only gives me the option of assigning an “action at mouse click”. I want the macro to be run as soon as the slide appears.