如何从node.js程序运行Excel VBA? [英] How to run an Excel VBA from a node.js program?

查看:215
本文介绍了如何从node.js程序运行Excel VBA?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Excel中进行了一些格式化的VBA代码。 Excel是由node.js创建的。可以通过node.js代码在Excel中运行该代码吗?

I have a VBA code in Excel doing some formatting. The Excel is getting created by node.js. Is it possible to run that code in Excel by node.js code?

推荐答案

您的最佳选择可能是这样使用诸如 edge 之类的模块允许您从节点运行.NET代码(可以使Excel和其他应用程序自动化)。

Your best bet for something like this is probably going to be to use a module such as edge which allows you to run .NET code (with can automate Excel and other applications) from node.

这篇关于如何从node.js程序运行Excel VBA?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆