XMLファイルを使用しているときにシートを保護してマークすることはできますが、パスワードは使用できません。誰でもメモ帳で開いて読めるようにXMLでの制限があります。
<?xml version="1.0"?><?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet">
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office"/>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"/>
<Styles>
<Style ss:ID="sUnlocked">
<Protection ss:Protected="0"/>
</Style>
</Styles>
<Worksheet ss:Name="Sheet1" ss:Protected="1">
<Table>
<Row>
<Cell>
<Data ss:Type="String">sku</Data>
</Cell>
<Cell>
<Data ss:Type="String">name</Data>
</Cell>
<Cell>
<Data ss:Type="String">is_in_stock</Data>
</Cell>
<Cell>
<Data ss:Type="String">qty</Data>
</Cell>
<Cell>
<Data ss:Type="String">price</Data>
</Cell>
</Row>
<Row>
<Cell>
<Data ss:Type="String">A1234</Data>
</Cell>
<Cell>
<Data ss:Type="String">Something</Data>
</Cell>
<Cell>
<Data ss:Type="Number">1</Data>
</Cell>
<Cell ss:StyleID="sUnlocked">
<Data ss:Type="Number">17</Data>
</Cell>
<Cell ss:StyleID="sUnlocked">
<Data ss:Type="Number">47</Data>
</Cell>
</Row>
</Table>
</Worksheet>
</Workbook>
は、あなたがこの作品...おかげで保護されていないスタイルに
<Style ss:ID="sUnlocked">
<Protection ss:Protected="0"/>
</Style>
を設定することにより、任意のセルまたは行を保護されていないことができます! –