<?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: Refreshing a Pivot Table on a Protected Sheet</title>
	<atom:link href="http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet</link>
	<description>Pivot Table Tutorials, Pivot Table Tips and Pivot Table News</description>
	<lastBuildDate>Tue, 31 Jan 2012 01:38:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<image><title>Excel Pivot Tables</title><url>http://www.pivot-table.com/wp-content/themes/atahualpa/images/ColoursRSS.gif</url><link>http://www.pivot-table.com</link><width>34</width><height>34</height><description>Excel pivot table tips and tutorials.</description></image>	<item>
		<title>By: Riaz</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-2613</link>
		<dc:creator>Riaz</dc:creator>
		<pubDate>Tue, 20 Sep 2011 10:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-2613</guid>
		<description>Hi,

I&#039;m using the below mentioned macro to refresh all the pivot tables in a worksheet. The macro is running successfully in unprotected sheet, but I need to run it in protected sheet by using a shortcut key. Please suggest

Sub AllWorksheetPivots()

Dim pt As PivotTable



    For Each pt In ActiveSheet.PivotTables

        pt.RefreshTable

    Next pt

    

End Sub</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m using the below mentioned macro to refresh all the pivot tables in a worksheet. The macro is running successfully in unprotected sheet, but I need to run it in protected sheet by using a shortcut key. Please suggest</p>
<p>Sub AllWorksheetPivots()</p>
<p>Dim pt As PivotTable</p>
<p>    For Each pt In ActiveSheet.PivotTables</p>
<p>        pt.RefreshTable</p>
<p>    Next pt</p>
<p>End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saswati</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-2368</link>
		<dc:creator>Saswati</dc:creator>
		<pubDate>Thu, 09 Jun 2011 14:25:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-2368</guid>
		<description>@Deb
Still giving the same error at the same place, here is the whole code

Sub RefreashCSQF()
&#039;
&#039; RefreashCSQF Macro
&#039; refreash Qualified Change Sheet pivot table
&#039;

&#039;
Application.Goto Reference:=&quot;hyperlink&quot;
    Range(&quot;B1&quot;).Select
    Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
    Application.Goto Reference:=&quot;Date&quot;
    Selection.Copy
    Windows(&quot;SAM.xls&quot;).Activate
    Application.Goto Reference:=&quot;Date&quot;
    Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
        False, Transpose:=False
    Application.Goto Reference:=&quot;CSQF&quot;
    Application.CutCopyMode = False
    ActiveSheet.PivotTables(1).RefreshTable
    Range(&quot;A1&quot;).Select
    Windows(&quot;Account Summary.XLS&quot;).Activate
    ActiveWorkbook.Close
End Sub</description>
		<content:encoded><![CDATA[<p>@Deb<br />
Still giving the same error at the same place, here is the whole code</p>
<p>Sub RefreashCSQF()<br />
&#8216;<br />
&#8216; RefreashCSQF Macro<br />
&#8216; refreash Qualified Change Sheet pivot table<br />
&#8216;</p>
<p>&#8216;<br />
Application.Goto Reference:=&#8221;hyperlink&#8221;<br />
    Range(&#8220;B1&#8243;).Select<br />
    Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True<br />
    Application.Goto Reference:=&#8221;Date&#8221;<br />
    Selection.Copy<br />
    Windows(&#8220;SAM.xls&#8221;).Activate<br />
    Application.Goto Reference:=&#8221;Date&#8221;<br />
    Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _<br />
        False, Transpose:=False<br />
    Application.Goto Reference:=&#8221;CSQF&#8221;<br />
    Application.CutCopyMode = False<br />
    ActiveSheet.PivotTables(1).RefreshTable<br />
    Range(&#8220;A1&#8243;).Select<br />
    Windows(&#8220;Account Summary.XLS&#8221;).Activate<br />
    ActiveWorkbook.Close<br />
End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debra Dalgleish</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-2357</link>
		<dc:creator>Debra Dalgleish</dc:creator>
		<pubDate>Thu, 02 Jun 2011 15:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-2357</guid>
		<description>@Saswati, was the code in the same file, for the same worksheet? It should work fine in Excel 2007 too, but try using the index number, instead of the pivot table name, in the code.</description>
		<content:encoded><![CDATA[<p>@Saswati, was the code in the same file, for the same worksheet? It should work fine in Excel 2007 too, but try using the index number, instead of the pivot table name, in the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saswati</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-2353</link>
		<dc:creator>Saswati</dc:creator>
		<pubDate>Thu, 02 Jun 2011 12:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-2353</guid>
		<description>@Debra, but it worked fine on Excel 2003</description>
		<content:encoded><![CDATA[<p>@Debra, but it worked fine on Excel 2003</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debra Dalgleish</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-2351</link>
		<dc:creator>Debra Dalgleish</dc:creator>
		<pubDate>Wed, 01 Jun 2011 19:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-2351</guid>
		<description>@Saswati, your pivot table probably has a name other than &quot;PivotTable5&quot;

If there is only one pivot table on the sheet, change the code to use the index number, instead of the name:
ActiveSheet.PivotTables(1).RefreshTable</description>
		<content:encoded><![CDATA[<p>@Saswati, your pivot table probably has a name other than &#8220;PivotTable5&#8243;</p>
<p>If there is only one pivot table on the sheet, change the code to use the index number, instead of the name:<br />
ActiveSheet.PivotTables(1).RefreshTable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saswati</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-2350</link>
		<dc:creator>Saswati</dc:creator>
		<pubDate>Wed, 01 Jun 2011 18:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-2350</guid>
		<description>I am using a macro to refresh a Pivot Table and I am getting an error. It stops running at this point
&quot; ActiveSheet.PivotTables(&quot;PivotTable5&quot;).RefreshTable&quot;

I am working with Excel 2010</description>
		<content:encoded><![CDATA[<p>I am using a macro to refresh a Pivot Table and I am getting an error. It stops running at this point<br />
&#8221; ActiveSheet.PivotTables(&#8220;PivotTable5&#8243;).RefreshTable&#8221;</p>
<p>I am working with Excel 2010</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giel Verbeeck</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-616</link>
		<dc:creator>Giel Verbeeck</dc:creator>
		<pubDate>Sun, 10 Oct 2010 03:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-616</guid>
		<description>Thx. The option I was looking for to have pivot table and data entry in the same sheet. That is not possible so perhaps I should use &#039;view&#039; &quot;new window&quot; to allow for data entry and evaluation of results at the same time. giel</description>
		<content:encoded><![CDATA[<p>Thx. The option I was looking for to have pivot table and data entry in the same sheet. That is not possible so perhaps I should use &#8216;view&#8217; &#8220;new window&#8221; to allow for data entry and evaluation of results at the same time. giel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debra Dalgleish</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-615</link>
		<dc:creator>Debra Dalgleish</dc:creator>
		<pubDate>Sun, 10 Oct 2010 01:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-615</guid>
		<description>Giel, you could leave the pivot table sheet unprotected, so it can be refreshed. Protect the data entry sheet, leaving the cells unlocked where the users can make changes.</description>
		<content:encoded><![CDATA[<p>Giel, you could leave the pivot table sheet unprotected, so it can be refreshed. Protect the data entry sheet, leaving the cells unlocked where the users can make changes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giel Verbeeck</title>
		<link>http://www.pivot-table.com/excel-pivot-tables/refreshing-a-pivot-table-on-a-protected-sheet/comment-page-1#comment-600</link>
		<dc:creator>Giel Verbeeck</dc:creator>
		<pubDate>Wed, 06 Oct 2010 10:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.pivot-table.com/?p=12#comment-600</guid>
		<description>Typically one wants to enable clients to enter data in specific areas and then be able to evaluate the results, through refresh. Is there absolutely no way around this without using VBA?</description>
		<content:encoded><![CDATA[<p>Typically one wants to enable clients to enter data in specific areas and then be able to evaluate the results, through refresh. Is there absolutely no way around this without using VBA?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

