0

How can I print console any thing in excel custom function. I have tried many things but it not displaying anything in the console. Any documentation available then please, suggest it. or share the link for that. I have tried this code.

    /**
     * Multiply By 10.
     * @customfunction
     * @helpurl https://sfjlemon.ifour-consultancy.net/taskpane.html
     * @param count First number.
     * @returns {number} The multiply by ten.
     */
    async function count(count) {
cosole.log("count value",count)
      return count * 10;
    }
Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
Shiv Yadav
  • 467
  • 2
  • 11

1 Answers1

0

A separate console window is not displayed when you use the console class in Office web add-ins. Instead, if you debugging the add-in you could find such output in the debug console window of VSCode (see https://code.visualstudio.com/docs/editor/debugging) or web browser itself if you run the solution in the browser.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45