0

Below function is creating the excel file and saving it on my source folder.However i want to set a specific path where the file will only be saved on that specific path wb.write(${filename}.xlsx)

GetSome _
  • 59
  • 8

1 Answers1

-2

You can just add the path as a parameter:

ex.

  return wb.write(`./report/excelReports/report-${month}.xlsx`)
JeremyMen
  • 37
  • 1
  • 2