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
)
Asked
Active
Viewed 1,024 times
0

GetSome _
- 59
- 8
1 Answers
-2
You can just add the path as a parameter:
ex.
return wb.write(`./report/excelReports/report-${month}.xlsx`)

JeremyMen
- 37
- 1
- 2