【问题标题】:How can I display console.log?如何显示 console.log?
【发布时间】:2021-05-10 11:25:54
【问题描述】:

此主题与使用 javascript api 开发 excel 插件的人有关。

https://docs.microsoft.com/en-us/office/dev/add-ins/excel/excel-add-ins-ranges#get-the-selected-range

如何在 VSCODE 控制台或调试控制台中通过console.log(`The address of the selected range is "${range.address}"`); 显示消息?

【问题讨论】:

  • 这能回答你的问题吗? Run JavaScript in Visual Studio Code
  • 您需要在 Excel 本身中运行加载项。
  • 你可以试试node
  • 各位高人,NOPE,您的答案不正确...
  • 假设你已经安装了 Nodejs,然后在 VSCode 中打开你的终端并输入node your_file_name。如果这不是您想要的,请让您的问题更清楚。

标签: javascript excel-addins javascript-api-for-office


【解决方案1】:
猜你喜欢
  • 2019-02-14
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-02-12
  • 1970-01-01
相关资源
最近更新 更多