Is it possible to run a macro on button in Task Pane(web) using Office App?
Asked Answered
M

1

1

I have created a macro in VBA. I want to call that macro on click on button in Task Add-in button.

Is there any way to run macro using button provided in Task Add-in panel?

enter image description here

Malinda answered 22/3, 2017 at 8:28 Comment(3)
Does this answer your question? Office-JS & VBA Addin How to mix togetherCaseworm
#75299640Caseworm
Short answer, yes, through customxmlparts events. Essentially on click you can send a formatted xmlpart that excel will listen for. Even better, since word is your host, you can actually listen to node modification events from the addin side.Tamekia
U
1

Office.hs API doesn't provide this functionality. If this is a new feature you want to include in the future, I suggest you submit a feedback at https://officespdev.uservoice.com/

You may read the thread from MSDN: Run Word Macro - Office App Javascript API

Unapproachable answered 23/3, 2017 at 13:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.