How to write Extract DataTable into Temp Excel File

I’m having an issue while doing the mock project.
After extracted the data from the website, i used WorkBook-Write Range Activity to write the datatable into temp.xlsx File but the error pop up.Capture
I did some research but i still stuck at it. Can anyone help me this ?

Try to create a temp file in some temporary location other than system temp.
Saving in a system temp has some dependencies.

And also make sure the extracted data table contains some data. From the error, the data table looks empty.

Karthik Byggari