You can try and set the password in the report. Assuming it's a tabular report. Either using the Open Password or Modify Password options, or defining an Encryptor and setting it on the report.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I wanna create a job with email attachment (output xls). Is there possible to create a password in xls file?
You can try and set the password in the report. Assuming it's a tabular report. Either using the Open Password or Modify Password options, or defining an Encryptor and setting it on the report.