<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Unprotect all Worksheets in all Workbooks</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/01/09/unprotect-all-worksheets-in-all-workbooks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/01/09/unprotect-all-worksheets-in-all-workbooks/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Srinivasan Seshadri</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/09/unprotect-all-worksheets-in-all-workbooks/#comment-26882</link>
		<dc:creator>Srinivasan Seshadri</dc:creator>
		<pubDate>Thu, 30 Aug 2007 11:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1580#comment-26882</guid>
		<description>&lt;p&gt;Rob,&lt;/p&gt;
&lt;p&gt;Tried the module for a set of 94 workbooks in one folder, each with a single worksheet.&lt;br&gt;
My aim was to unprotect workbooks and worksheets and then concatenate the workbooks into a combined workbook of 94 worksheets and then create an index page for the workbook contents with hyperlinks to the worksheets..&lt;/p&gt;
&lt;p&gt;The macro worked for unprotecting all the worksheets, but no workbook was unprotected.&lt;br&gt;
The concatenate macro only works with unprotected workbooks.&lt;br&gt;
I am using Office 2003.&lt;/p&gt;
&lt;p&gt;Any more information possible in this regard?&lt;/p&gt;
&lt;p&gt;Seshadri&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Rob,</p>
<p>Tried the module for a set of 94 workbooks in one folder, each with a single worksheet.<br />
My aim was to unprotect workbooks and worksheets and then concatenate the workbooks into a combined workbook of 94 worksheets and then create an index page for the workbook contents with hyperlinks to the worksheets..</p>
<p>The macro worked for unprotecting all the worksheets, but no workbook was unprotected.<br />
The concatenate macro only works with unprotected workbooks.<br />
I am using Office 2003.</p>
<p>Any more information possible in this regard?</p>
<p>Seshadri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/09/unprotect-all-worksheets-in-all-workbooks/#comment-22063</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Wed, 10 Jan 2007 09:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1580#comment-22063</guid>
		<description>&lt;p&gt;Nick ...the Workbook uprotect will not work from XP onwards.&lt;br&gt;
The Worksheet unprotect will work upto 2003...havent tested it in 2007&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nick &#8230;the Workbook uprotect will not work from XP onwards.<br />
The Worksheet unprotect will work upto 2003&#8230;havent tested it in 2007</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Burns</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/01/09/unprotect-all-worksheets-in-all-workbooks/#comment-22062</link>
		<dc:creator>Nick Burns</dc:creator>
		<pubDate>Wed, 10 Jan 2007 06:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1580#comment-22062</guid>
		<description>&lt;p&gt;(if this appears twice, I apologize)&lt;/p&gt;
&lt;p&gt;Here&#039;s the code I&#039;ve been using for a year or so now to unprotect workbooks and worksheets:&lt;/p&gt;
&lt;p&gt;Public Sub WorkBookUnprotect(wrkbk)&lt;br&gt;
    On Error Resume Next&lt;br&gt;
    With Workbooks(wrkbk)&lt;br&gt;
        .Protect vbNullString, True, True&lt;br&gt;
        .Unprotect vbNullString&lt;br&gt;
    End With&lt;br&gt;
End Sub&lt;/p&gt;
&lt;p&gt;Public Sub WorkSheetUnprotect(wrkbk, wrksht)&lt;br&gt;
    On Error Resume Next&lt;br&gt;
    With Workbooks(wrkbk).Worksheets(wrksht)&lt;br&gt;
        .Protect vbNullString, , , , True&lt;br&gt;
        .Range(&quot;A1?).Copy .Range(&quot;A1?)&lt;br&gt;
        .Unprotect vbNullString&lt;br&gt;
    End With&lt;br&gt;
End Sub&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>(if this appears twice, I apologize)</p>
<p>Here&#8217;s the code I&#8217;ve been using for a year or so now to unprotect workbooks and worksheets:</p>
<p>Public Sub WorkBookUnprotect(wrkbk)<br />
    On Error Resume Next<br />
    With Workbooks(wrkbk)<br />
        .Protect vbNullString, True, True<br />
        .Unprotect vbNullString<br />
    End With<br />
End Sub</p>
<p>Public Sub WorkSheetUnprotect(wrkbk, wrksht)<br />
    On Error Resume Next<br />
    With Workbooks(wrkbk).Worksheets(wrksht)<br />
        .Protect vbNullString, , , , True<br />
        .Range(&#8220;A1?).Copy .Range(&#8220;A1?)<br />
        .Unprotect vbNullString<br />
    End With<br />
End Sub</p>
]]></content:encoded>
	</item>
</channel>
</rss>

