Reputation: 451
In PowerPoint VBA I can create a UserForm
(MSForms
) and call:
Dim frm As New myUserForm
frm.Show
The result is a Window on top of PowerPoint.
Can I do the same thing from JavaScript API for Office
?
Is the full Microsoft PowerPoint Object Library available from JavaScript API for Office*?
The new add-ins were not designed with the intention to replace the old VBA Add-ins, but porting VBA to JS seems logic and my Add-in could take advantage of some of the new online services of Office 365.
Upvotes: 1
Views: 718
Reputation: 33094
This isn't support by Office.js.
Office Web Add-ins were designed to be a cross-platform framework and the frm
object only exists on Windows. It's also a native object which doesn't fit into a web based framework.
Instead of using a native object, consider building your form in HTML/JS. You can still display this as a modal dialog using the Dialog API if you wish.
Upvotes: 1