大家好!
我是 JMP 的新手。 我看到很多帖子声称可以通过 Excel VBA 运行 JSL 脚本。 我想知道反过来是否可行。 在 JSL 脚本中运行 VBA 代码。 原因:我在 Excel 中有一个宏,在 JMP 中有一个脚本。 我希望将 excel 宏引入我的 JMP 脚本。 感谢您的信息!
您可以使用 JSL 的 RunProgram 运行 VBScript(它是 VBA 的子集,可用于自动化 Excel)。
有关更多详细信息,请参阅我对之前社区讨论的回复: https://community.jmp.com/t5/Discussions/JSL-Open-a-VBS-script/mp/36336/highlight/true#M21350
查看此链接了解基本详细信息:
https://support.sas.com/documentation/onlinedoc/jmp/13.1/AutomationReference.pdf
第 35 页有一个从 Excel 自动执行 JMP 的示例。