title: Excel protect workbook with password but allow readonly
body: <p>Using the interop classes in C# I was able to protect a workbook for reading and writing with a password. </p>
  
  <p><img src="https://i.stack.imgur.com/1pcfs.png" alt="Password Dialog"></p>
  
  <p>But I want users to be able to open the sheet as read-only.</p>
  
  <p><img src="https://i.stack.imgur.com/D8mY8.png" alt="Read Only Dialog"></p>
  
  <p>Is this possible without using the <a href="http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.workbook.saveas.aspx" rel="nofollow noreferrer"><code>Workbook.SaveAs</code></a> method?</p>
  
  <p>Protecting a workbook with a password (picture 1) I'm using the <a href="http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.workbook.password.aspx" rel="nofollow noreferrer"><code>Workbook.Password</code></a> property. </p>