Js代码怎么执行宏代码,或者调用宏呢?

你好!

在这个链接中,您可以查看我的同事如何解释正确使用GlobalVariable函数- https://forum.onlyoffice.com/t/insert-data-of-excel-into-document-or-powerpoint-at-particular-page-or-slide/4594/2

我理解你正在使用这个功能,是吧? - https://api.onlyoffice.com/docbuilder/howitworks/globalvariable

如果我同事的说明没有帮助到您,且这确实是 Document Builder 中的一个功能,请将您正在运行的脚本发送给我们。