<?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: Formatting Pivot Tables</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/</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: Pauline</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-67369</link>
		<dc:creator>Pauline</dc:creator>
		<pubDate>Fri, 28 Oct 2011 13:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-67369</guid>
		<description>&lt;p&gt;question, I have a pivot table with time reflected in multiple columns, what I&#039;d like to due is format it so that if there is no time in a cell is shows nothing right now its shoowing &quot;(blank)&quot;, it makes the report hard to see the information I&#039;m trying to show....help anyone?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>question, I have a pivot table with time reflected in multiple columns, what I&#8217;d like to due is format it so that if there is no time in a cell is shows nothing right now its shoowing &#8220;(blank)&#8221;, it makes the report hard to see the information I&#8217;m trying to show&#8230;.help anyone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry31415</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-59667</link>
		<dc:creator>Terry31415</dc:creator>
		<pubDate>Tue, 22 Feb 2011 23:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-59667</guid>
		<description>&lt;p&gt;Thanks!  I love pivot tables, and go cross-eyed staring at numbers without formatting.  &lt;/p&gt;
&lt;p&gt;Doing what you&#039;ve done has been on my long list of things to do, but I didn&#039;t know how to do what you did.  I&#039;ve added some tricks I know to your code to accommodate several different formats that I use most frequently.&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; Format_PTFields()&lt;br&gt;
&lt;span class=&quot;co1&quot;&gt;&#039;Macro goal: allow users to quickly choose the format to apply to pivot table fields&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;co1&quot;&gt;&#039;Code modified from Dick Kusleika&#039;s code at:&lt;br&gt;
&lt;/span&gt;&lt;span class=&quot;co1&quot;&gt;&#039;http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; pf &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; PivotField&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; FormatChoice &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;String&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;&#039;allows you to dynamically select the format&lt;br&gt;
&lt;/span&gt; &#160; &#160;&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; QuestionString &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;String&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;On&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Error&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;GoTo&lt;/span&gt; HandleErr&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; TypeName(Selection) = &lt;span class=&quot;st0&quot;&gt;&quot;Range&quot;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Set&lt;/span&gt; pf = ActiveCell.PivotField&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;co1&quot;&gt;&#039;Consolidates the question blurb to a variable&lt;br&gt;
&lt;/span&gt; &#160; &#160;QuestionString = &lt;span class=&quot;st0&quot;&gt;&quot;Apply which format to this pivot field?&quot;&lt;/span&gt; &amp; vbCrLf &amp; _&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;st0&quot;&gt;&quot; &#160; &#160;&#039;0&#039;: numbers with 0 digits after the decimals&quot;&lt;/span&gt; &amp; vbCrLf &amp; _&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;st0&quot;&gt;&quot; &#160; &#160;&#039;1&#039;: numbers with 1 digit after the decimals&quot;&lt;/span&gt; &amp; vbCrLf &amp; _&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;st0&quot;&gt;&quot; &#160; &#160;&#039;d&#039;: dollars (no cents)&quot;&lt;/span&gt; &amp; vbCrLf &amp; _&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;st0&quot;&gt;&quot; &#160; &#160;&#039;c&#039;: dollars and cents&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;co1&quot;&gt;&#039;Ask the user what format to apply&lt;br&gt;
&lt;/span&gt; &#160; &#160;FormatChoice = InputBox(QuestionString)&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;co1&quot;&gt;&#039;based on the FormatChoice, format the selected pivot field&lt;br&gt;
&lt;/span&gt; &#160; &#160;&lt;span class=&quot;kw1&quot;&gt;Select&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Case&lt;/span&gt; FormatChoice&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Case&lt;/span&gt; 0 &#160; &#160; &#160;&lt;span class=&quot;co1&quot;&gt;&#039;shows numbers with 0 digits after the decimal&lt;br&gt;
&lt;/span&gt; &#160; &#160; &#160; &#160; &#160; &#160;pf.NumberFormat = &lt;span class=&quot;st0&quot;&gt;&quot;#,##0&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Case&lt;/span&gt; 1 &#160; &#160; &#160;&lt;span class=&quot;co1&quot;&gt;&#039;shows numbers with 1 digit after the decimal&lt;br&gt;
&lt;/span&gt; &#160; &#160; &#160; &#160; &#160; pf.NumberFormat = &lt;span class=&quot;st0&quot;&gt;&quot;#,##0.0&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160;&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Case&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;d&quot;&lt;/span&gt; &#160; &#160;&lt;span class=&quot;co1&quot;&gt;&#039;shows dollars (no cents)&lt;br&gt;
&lt;/span&gt; &#160; &#160; &#160; &#160; &#160; &#160;pf.NumberFormat = &lt;span class=&quot;st0&quot;&gt;&quot;$#,##0&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Case&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;c&quot;&lt;/span&gt; &#160; &#160;&lt;span class=&quot;co1&quot;&gt;&#039;Shows dollars and cents&lt;br&gt;
&lt;/span&gt; &#160; &#160; &#160; &#160; &#160; &#160;pf.NumberFormat = &lt;span class=&quot;st0&quot;&gt;&quot;$#,##0.00&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Select&lt;/span&gt;&lt;br&gt;
&#160; &#160;&lt;br&gt;
ExitSub:&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Exit&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;br&gt;
&#160; &#160;&lt;br&gt;
HandleErr:&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Err = 1004 &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; MsgBox (&lt;span class=&quot;st0&quot;&gt;&quot;This macro only does something useful if you are &quot;&lt;/span&gt; &amp; vbCrLf &amp; _&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;st0&quot;&gt;&quot;in a pivot table value field. &#160;Exiting macro.&quot;&lt;/span&gt;)&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Else&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; MsgBox &lt;span class=&quot;st0&quot;&gt;&quot;Unexpected Error: &quot;&lt;/span&gt; &amp; Err &amp; Err.Description&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;GoTo&lt;/span&gt; ExitSub&lt;br&gt;
&#160; &#160; &lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks!  I love pivot tables, and go cross-eyed staring at numbers without formatting.  </p>
<p>Doing what you&#8217;ve done has been on my long list of things to do, but I didn&#8217;t know how to do what you did.  I&#8217;ve added some tricks I know to your code to accommodate several different formats that I use most frequently.</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Sub</span> Format_PTFields()<br />
<span class="co1">&#8216;Macro goal: allow users to quickly choose the format to apply to pivot table fields<br />
</span><br />
<span class="co1">&#8216;Code modified from Dick Kusleika&#8217;s code at:<br />
</span><span class="co1">&#8216;<a href="http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/" rel="nofollow">http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/</a><br />
</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">Dim</span> pf <span class="kw1">As</span> PivotField<br />
&nbsp; &nbsp; <span class="kw1">Dim</span> FormatChoice <span class="kw1">As</span> <span class="kw1">String</span> <span class="co1">&#8216;allows you to dynamically select the format<br />
</span> &nbsp; &nbsp;<span class="kw1">Dim</span> QuestionString <span class="kw1">As</span> <span class="kw1">String</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">On</span> <span class="kw1">Error</span> <span class="kw1">GoTo</span> HandleErr<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">If</span> TypeName(Selection) = <span class="st0">&#8220;Range&#8221;</span> <span class="kw1">Then</span> <span class="kw1">Set</span> pf = ActiveCell.PivotField<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">&#8216;Consolidates the question blurb to a variable<br />
</span> &nbsp; &nbsp;QuestionString = <span class="st0">&#8220;Apply which format to this pivot field?&#8221;</span> &amp; vbCrLf &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8221; &nbsp; &nbsp;&#8217;0&#8242;: numbers with 0 digits after the decimals&#8221;</span> &amp; vbCrLf &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8221; &nbsp; &nbsp;&#8217;1&#8242;: numbers with 1 digit after the decimals&#8221;</span> &amp; vbCrLf &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8221; &nbsp; &nbsp;&#8217;d': dollars (no cents)&#8221;</span> &amp; vbCrLf &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8221; &nbsp; &nbsp;&#8217;c': dollars and cents&#8221;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">&#8216;Ask the user what format to apply<br />
</span> &nbsp; &nbsp;FormatChoice = InputBox(QuestionString)<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="co1">&#8216;based on the FormatChoice, format the selected pivot field<br />
</span> &nbsp; &nbsp;<span class="kw1">Select</span> <span class="kw1">Case</span> FormatChoice<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Case</span> 0 &nbsp; &nbsp; &nbsp;<span class="co1">&#8216;shows numbers with 0 digits after the decimal<br />
</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pf.NumberFormat = <span class="st0">&#8220;#,##0&#8243;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Case</span> 1 &nbsp; &nbsp; &nbsp;<span class="co1">&#8216;shows numbers with 1 digit after the decimal<br />
</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pf.NumberFormat = <span class="st0">&#8220;#,##0.0&#8243;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Case</span> <span class="st0">&#8220;d&#8221;</span> &nbsp; &nbsp;<span class="co1">&#8216;shows dollars (no cents)<br />
</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pf.NumberFormat = <span class="st0">&#8220;$#,##0&#8243;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Case</span> <span class="st0">&#8220;c&#8221;</span> &nbsp; &nbsp;<span class="co1">&#8216;Shows dollars and cents<br />
</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pf.NumberFormat = <span class="st0">&#8220;$#,##0.00&#8243;</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">Select</span><br />
&nbsp; &nbsp;<br />
ExitSub:<br />
&nbsp; &nbsp; <span class="kw1">Exit</span> <span class="kw1">Sub</span><br />
&nbsp; &nbsp;<br />
HandleErr:<br />
&nbsp; &nbsp; <span class="kw1">If</span> Err = 1004 <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; MsgBox (<span class="st0">&#8220;This macro only does something useful if you are &#8220;</span> &amp; vbCrLf &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8220;in a pivot table value field. &nbsp;Exiting macro.&#8221;</span>)<br />
&nbsp; &nbsp; <span class="kw1">Else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; MsgBox <span class="st0">&#8220;Unexpected Error: &#8220;</span> &amp; Err &amp; Err.Description<br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">If</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">GoTo</span> ExitSub<br />
&nbsp; &nbsp; <br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Auto Format PivotTables to Match Source Data (Power Tips Series) - Microsoft Excel 2010 - newgroup - Telligent</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-54607</link>
		<dc:creator>Auto Format PivotTables to Match Source Data (Power Tips Series) - Microsoft Excel 2010 - newgroup - Telligent</dc:creator>
		<pubDate>Wed, 24 Nov 2010 15:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-54607</guid>
		<description>&lt;p&gt;[...] few weeks ago Dick Kusleika posted a small but brilliant piece of code that auto formats the active pivot data field to a number format without having to muddle through [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] few weeks ago Dick Kusleika posted a small but brilliant piece of code that auto formats the active pivot data field to a number format without having to muddle through [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Auto Format PivotTables to Match Source Data (Power Tips Series) - Microsoft Excel 2010 - newgroup - Telligent</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-54482</link>
		<dc:creator>Auto Format PivotTables to Match Source Data (Power Tips Series) - Microsoft Excel 2010 - newgroup - Telligent</dc:creator>
		<pubDate>Mon, 22 Nov 2010 18:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-54482</guid>
		<description>&lt;p&gt;[...] few weeks ago *** Kusleika posted a small but brilliant piece of code that auto formats the active pivot data field to a number format without having to muddle through [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] few weeks ago *** Kusleika posted a small but brilliant piece of code that auto formats the active pivot data field to a number format without having to muddle through [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Auto Format PivotTables to Match Source Data (Power Tips Series) - Microsoft Excel 2010 - Site Home - MSDN Blogs</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-51031</link>
		<dc:creator>Auto Format PivotTables to Match Source Data (Power Tips Series) - Microsoft Excel 2010 - Site Home - MSDN Blogs</dc:creator>
		<pubDate>Wed, 22 Sep 2010 01:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-51031</guid>
		<description>&lt;p&gt;[...] few weeks ago Dick Kusleika posted a small but brilliant piece of code that auto formats the active pivot data field to a number format without having to muddle through [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] few weeks ago Dick Kusleika posted a small but brilliant piece of code that auto formats the active pivot data field to a number format without having to muddle through [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Auto Format PivotTables to Match Source Data » Bacon Bits:</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-48592</link>
		<dc:creator>Auto Format PivotTables to Match Source Data » Bacon Bits:</dc:creator>
		<pubDate>Wed, 04 Aug 2010 04:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-48592</guid>
		<description>&lt;p&gt;[...] few weeks ago Dick Kusleika posted a small but brilliant piece of code that auto formats the active pivot data field to a number format without having to muddle through [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] few weeks ago Dick Kusleika posted a small but brilliant piece of code that auto formats the active pivot data field to a number format without having to muddle through [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Redge</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-47421</link>
		<dc:creator>Redge</dc:creator>
		<pubDate>Tue, 29 Jun 2010 14:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-47421</guid>
		<description>&lt;p&gt;Pivot tables are a great tool,  however, one of my greatest frustrations is seeing them get discarded due to integrity issues.  I can appreciate the formatting tools offered but was wondering if anyone else is having problems with their pivot tables being trashed by Excel.&lt;/p&gt;
&lt;p&gt;I ended up writing a macro to re-build the pivot table on the fly but would like to think there is a more elegant solution.&lt;/p&gt;
&lt;p&gt;I&#039;ve gone through great lengths making sure my service packs are up to date and more ... with no success.  My spreadsheet is password protected and I can only think that this may be the root of the problem.  Any advice would be appreciated.&lt;/p&gt;
&lt;p&gt;By the way, thanks for the great code snippets.  They work wonders.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Pivot tables are a great tool,  however, one of my greatest frustrations is seeing them get discarded due to integrity issues.  I can appreciate the formatting tools offered but was wondering if anyone else is having problems with their pivot tables being trashed by Excel.</p>
<p>I ended up writing a macro to re-build the pivot table on the fly but would like to think there is a more elegant solution.</p>
<p>I&#8217;ve gone through great lengths making sure my service packs are up to date and more &#8230; with no success.  My spreadsheet is password protected and I can only think that this may be the root of the problem.  Any advice would be appreciated.</p>
<p>By the way, thanks for the great code snippets.  They work wonders.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-47335</link>
		<dc:creator>Kim</dc:creator>
		<pubDate>Fri, 25 Jun 2010 15:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-47335</guid>
		<description>&lt;p&gt;This is going to save so much time!  Thank you!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is going to save so much time!  Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andries</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-47334</link>
		<dc:creator>Andries</dc:creator>
		<pubDate>Fri, 25 Jun 2010 15:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-47334</guid>
		<description>&lt;p&gt;Thanks Dick, I love your magic, I&#039;ve been using my hotkey many times already this week :)&lt;br&gt;
99 out of a 100 times I need to set my pivot field to the summary type and the same time, so I&#039;ve made one further modification to set the function type. By setting the Function type first this will already trigger a default name starting with CountOf.. to be updated to SumOf.. before it is supplied as default value in the InputBox asking for a possible name change.&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; MakeComma()&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; pf &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; PivotField&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; TypeName(Selection) = &lt;span class=&quot;st0&quot;&gt;&quot;Range&quot;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;On&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Error&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Resume&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Set&lt;/span&gt; pf = ActiveCell.PivotField&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;On&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Error&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;GoTo&lt;/span&gt; 0&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; pf &lt;span class=&quot;kw1&quot;&gt;Is&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Nothing&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; Selection.NumberFormat = &lt;span class=&quot;st0&quot;&gt;&quot;#,##0_);[Red](#,##0)&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Else&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; pf.&lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt; = xlSum&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; pf.NumberFormat = &lt;span class=&quot;st0&quot;&gt;&quot;#,##0_);[Red](#,##0)&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; pf.Name = InputBox(&lt;span class=&quot;st0&quot;&gt;&quot;Enter the new name for the field &quot;&lt;/span&gt; &amp; Chr(13) &amp; &lt;span class=&quot;st0&quot;&gt;&quot;(Please note the field summary type is now SUM!)&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;Pivot Field Rename&quot;&lt;/span&gt;, pf.Name)&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks Dick, I love your magic, I&#8217;ve been using my hotkey many times already this week <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
99 out of a 100 times I need to set my pivot field to the summary type and the same time, so I&#8217;ve made one further modification to set the function type. By setting the Function type first this will already trigger a default name starting with CountOf.. to be updated to SumOf.. before it is supplied as default value in the InputBox asking for a possible name change.</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Sub</span> MakeComma()<br />
&nbsp; &nbsp; <span class="kw1">Dim</span> pf <span class="kw1">As</span> PivotField<br />
&nbsp; &nbsp; <span class="kw1">If</span> TypeName(Selection) = <span class="st0">&#8220;Range&#8221;</span> <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">On</span> <span class="kw1">Error</span> <span class="kw1">Resume</span> <span class="kw1">Next</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Set</span> pf = ActiveCell.PivotField<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">On</span> <span class="kw1">Error</span> <span class="kw1">GoTo</span> 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">If</span> pf <span class="kw1">Is</span> <span class="kw1">Nothing</span> <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Selection.NumberFormat = <span class="st0">&#8220;#,##0_);[Red](#,##0)&#8221;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pf.<span class="kw1">Function</span> = xlSum<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pf.NumberFormat = <span class="st0">&#8220;#,##0_);[Red](#,##0)&#8221;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pf.Name = InputBox(<span class="st0">&#8220;Enter the new name for the field &#8220;</span> &amp; Chr(13) &amp; <span class="st0">&#8220;(Please note the field summary type is now SUM!)&#8221;</span>, <span class="st0">&#8220;Pivot Field Rename&#8221;</span>, pf.Name)<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">If</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">If</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck</title>
		<link>http://www.dailydoseofexcel.com/archives/2010/06/18/formatting-pivot-tables/#comment-47304</link>
		<dc:creator>Chuck</dc:creator>
		<pubDate>Thu, 24 Jun 2010 16:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=3932#comment-47304</guid>
		<description>&lt;p&gt;Once again, Dick has changed my life!&lt;/p&gt;
&lt;p&gt;Great code!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Once again, Dick has changed my life!</p>
<p>Great code!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

