2

this topic is related to persons who developing excel add-ins using javascript api.

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

How can I display message via console.log(`The address of the selected range is "${range.address}"`); in VSCODE console or debug console?

  • Does this answer your question? [Run JavaScript in Visual Studio Code](https://stackoverflow.com/questions/31778413/run-javascript-in-visual-studio-code) – Hamza Feb 06 '21 at 08:19
  • You will need to run the add-in in Excel itself. – James Jensen Feb 06 '21 at 08:26
  • you could try using node – axtck Feb 06 '21 at 09:39
  • hi upper buddies, NOPE, your answers are incorrect... – Łukasz Zadworny Feb 06 '21 at 10:03
  • 1
    Assuming that you have installed Nodejs, then simply open your terminal inside VSCode and type `node your_file_name`. If this not what you are looking for, please make your question more clear. – Κωνσταντινος Χαφης Feb 06 '21 at 10:08
  • Does this answer your question? [Excel Add In - Where does console.log output it's message - NodeJS](https://stackoverflow.com/questions/50434202/excel-add-in-where-does-console-log-output-its-message-nodejs), and also see: [Debug Office Add-ins on a Mac](https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-office-add-ins-on-ipad-and-mac) – pilchard Feb 06 '21 at 11:50