<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Search string to replace sheet protection multiple .xml files.]]></title><description><![CDATA[<p dir="auto">I have an Excel file that has sheet protection on multiple (400+) excel worksheets in an Excel spreadsheet and I don’t know the password. In order edit the file content I have to remove the sheet protection. I need to remove the following text string from each file: <strong><code>&lt;sheetProtection algorithmName="SHA-512" hashValue="*" saltValue="*" spinCount="100000" sheet="1" objects="1" scenarios="1"/&gt;</code></strong>. Each file has basically the same text string except for the hash value (<strong>shown as a * above</strong>) and the salt value (<strong>shown as an “*” above</strong>). Is there a way to search for and replace the string in all 400+ all of the files?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26955/search-string-to-replace-sheet-protection-multiple-xml-files</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 15:23:23 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26955.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Jun 2025 15:14:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Search string to replace sheet protection multiple .xml files. on Wed, 18 Jun 2025 18:19:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a></p>
<p dir="auto">That worked! Thanks for your help!</p>
<p dir="auto">Ken</p>
]]></description><link>https://community.notepad-plus-plus.org/post/102154</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102154</guid><dc:creator><![CDATA[Ken McQueston]]></dc:creator><pubDate>Wed, 18 Jun 2025 18:19:15 GMT</pubDate></item><item><title><![CDATA[Reply to Search string to replace sheet protection multiple .xml files. on Wed, 18 Jun 2025 15:27:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ken-mcqueston" aria-label="Profile: Ken-McQueston">@<bdi>Ken-McQueston</bdi></a> ,</p>
<p dir="auto">Making sure that the Find-in-Files is set to <code>Regular Expression</code>, then you can FIND = <code>&lt;sheetProtection algorithmName="SHA-512" hashValue=".*?" saltValue=".*?" spinCount="100000" sheet="1" objects="1" scenarios="1"/&gt;</code> and replace with the empty string.</p>
<p dir="auto"><code>.*?</code> in regular expression mode means “zero or more characters, but don’t be greedy”, which should do what you want in both the hashValue and saltValue fields</p>
<p dir="auto">Whenever doing find-in-files search/replace, make sure you have a backup in case something goes wrong.</p>
<p dir="auto"><em>(Also note that by breaking sheet protection without the password, you might be violating a user license or privacy agreement; do not follow these instructions to get around legal restrictions; only use it in case you have a private spreadsheet where you forgot your own password, and you have 100% legal right to be breaking that copy protection.)</em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/102147</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102147</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 18 Jun 2025 15:27:45 GMT</pubDate></item></channel></rss>