My application send an excel sheet with all the Data to the administrator. I need to make this excel sheet password protected. i.e a normal excel sheet you go to excel sheet-> tools -> options -> security and add a Password , on reopening the excel sheet it always asks for the password. This idea I need to hardcode into my application.