ChrisDodgson
Technical User
I am running SQL 2000.
I have a stored procedure that creates a set of data, which then needs to be put into Excel, the excel spreadsheet password protected and then emailed to a recipient.
I have the sp sorted, and was going to use xp_sendmail to send the spreadsheet to the required recipient. What I'm not sure of is how to automatically set the password. (it can be the same password every time).
Any help would be greatly appreciated.
Many thanks,
Chris
I have a stored procedure that creates a set of data, which then needs to be put into Excel, the excel spreadsheet password protected and then emailed to a recipient.
I have the sp sorted, and was going to use xp_sendmail to send the spreadsheet to the required recipient. What I'm not sure of is how to automatically set the password. (it can be the same password every time).
Any help would be greatly appreciated.
Many thanks,
Chris