<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bacon Bits: &#187; Tips and Tricks</title>
	<atom:link href="http://datapigtechnologies.com/blog/index.php/tag/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://datapigtechnologies.com/blog</link>
	<description>A DataPig Technologies Blog</description>
	<lastBuildDate>Tue, 07 Feb 2012 16:56:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Easily Navigate Many Worksheets</title>
		<link>http://datapigtechnologies.com/blog/index.php/easily-navigate-many-worksheets/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/easily-navigate-many-worksheets/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 11:31:40 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Tips and Tricks]]></category>
		<category><![CDATA[Excel VBA]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[VBA]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/easily-navigate-many-worksheets/</guid>
		<description><![CDATA[Last week, Debra over at Contextures posted an article that showed us lots of nifty ways to navigate a workbook that has many worksheets. Today, I&#8217;d like to add my two cents by sharing a small macro that will give you a fairly easy way to jump from sheet to sheet. . We all have [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/worksheet-protection-best-practice/' rel='bookmark' title='Worksheet Protection Best Practice'>Worksheet Protection Best Practice</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/mimicking-scroll-lock/' rel='bookmark' title='Mimicking Scroll Lock'>Mimicking Scroll Lock</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/zoom-into-spreadsheet-on-double-click/' rel='bookmark' title='Zoom into Spreadsheet on Double-Click'>Zoom into Spreadsheet on Double-Click</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/fun-with-custom-lists/' rel='bookmark' title='Fun with Custom Lists'>Fun with Custom Lists</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Last week, Debra over at <a href="http://www.contextures.com" target="_blank">Contextures</a> posted an article that showed us lots of nifty ways to navigate a workbook that has many worksheets.  Today, I&#8217;d like to add my two cents by sharing a small macro that will give you a fairly easy way to jump from sheet to sheet.</p>
<p><span style="color: white;">.</span></p>
<p>We all have them – those workbooks that have 10, 15, 20 or more tabs.</p>
<p>I personally have lots of training workbooks that have 15+ tabs.</p>
<p>When you&#8217;ve got a workbook that has this many sheets, it can be a pain to find the sheet you need.<br />
<span id="more-3536"></span><br />
<img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/111411_1131_EasilyNavig1.png" /></p>
<p><span style="color: white;">.</span></p>
<p>To help, I use this small bit of code to fire up Excel&#8217;s built-in navigation helper – the Worksheet Tab pop-up.</p>
<p>Simply copy and paste this code into a new Standard Module</p>
<p><strong> Sub ShowWorksheets()<br />
</strong></p>
<p><strong> Application.CommandBars(&#8220;workbook tabs&#8221;).ShowPopup<br />
</strong></p>
<p><strong> End Sub</strong></p>
<p><span style="color:white">.</span></p>
</p>
<p><span style="color:white">.</span></p>
<p>Once you paste the code in, you will see your newly added macro in your Macro dialog box.</p>
<p>Choose the Options button and assign a shortcut key.  As can see, I assigned Ctrl+w to my macro.</p>
<p><img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/111411_1131_EasilyNavig2.png" /><strong><br />
</strong></p>
<p><span style="color:white">.</span></p>
</p>
<p><span style="color:white">.</span></p>
<p>At this point, all I have to do is fire my macro by pressing Ctrl+w on my keyboard.</p>
<p>This will activate Excel&#8217;s Workbook Tabs pop-up – showing me which tab I&#8217;m currently on, and allowing me to easily navigate to a different tab.</p>
<p><img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/111411_1131_EasilyNavig3.png" /><strong><br />
</strong></p>
<p><span style="color: white;">.<br />
</span></p>
<p>If you have more than 15 tabs in your workbook, the last entry in the list will be <strong>More Sheets</strong>.</p>
<p>Click on More Sheets to get a full listing of all the tabs in your workbook.</p>
<p><img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/111411_1131_EasilyNavig4.png" /></p>
<p><span style="color: white;">..<br />
</span></p>
<p>Happy navigating!</p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/worksheet-protection-best-practice/' rel='bookmark' title='Worksheet Protection Best Practice'>Worksheet Protection Best Practice</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/mimicking-scroll-lock/' rel='bookmark' title='Mimicking Scroll Lock'>Mimicking Scroll Lock</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/sort-by-color-in-excel-2003/' rel='bookmark' title='Sort by Color in Excel 2003'>Sort by Color in Excel 2003</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/zoom-into-spreadsheet-on-double-click/' rel='bookmark' title='Zoom into Spreadsheet on Double-Click'>Zoom into Spreadsheet on Double-Click</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/fun-with-custom-lists/' rel='bookmark' title='Fun with Custom Lists'>Fun with Custom Lists</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/easily-navigate-many-worksheets/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Use Fill Handle to Fill in the 1st and 15th of Each Month</title>
		<link>http://datapigtechnologies.com/blog/index.php/use-fill-handle-to-fill-in-the-1st-and-15th-of-each-month/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/use-fill-handle-to-fill-in-the-1st-and-15th-of-each-month/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 14:35:17 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Tips and Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/use-fill-handle-to-fill-in-the-1st-and-15th-of-each-month/</guid>
		<description><![CDATA[Here&#8217;s an easy tip from Excel MVP Bob Umlas – author of the new book, Excel Outside the Box. . Let&#8217;s say you want to fill in some rows with the 1st and the 15th of every month. So you enter something like 1/1/2012 and 1/15/2012 in the first two rows. . Now you highlight [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/fill-in-a-series-with-the-fill-handle/' rel='bookmark' title='Fill in a Series with the Fill Handle'>Fill in a Series with the Fill Handle</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/why-find-when-you-can-search/' rel='bookmark' title='Why FIND when you can SEARCH'>Why FIND when you can SEARCH</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/inserting-a-line-break-inside-a-cell/' rel='bookmark' title='Inserting a Line Break inside a Cell'>Inserting a Line Break inside a Cell</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/building-a-multiplication-heat-map/' rel='bookmark' title='Building a Multiplication Heat Map'>Building a Multiplication Heat Map</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/changing-font-size-of-just-the-formula-bar/' rel='bookmark' title='Changing Font Size of Just the Formula Bar'>Changing Font Size of Just the Formula Bar</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an easy tip from Excel MVP Bob Umlas – author of the new book, <a href="http://www.mrexcel.com/outsidethebox.html" target="_blank">Excel Outside the Box</a>.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/110711_1435_UseFillHand1.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>Let&#8217;s say you want to fill in some rows with the 1<sup>st</sup> and the 15<sup>th</sup> of every month.<br />
<span id="more-3528"></span><br />
So you enter something like 1/1/2012 and 1/15/2012 in the first two rows.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/110711_1435_UseFillHand2.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>Now you highlight the two dates and try to use the fill handle to drag them down.  This is in hopes that Excel will be smart enough to continue your pattern of entering the 1<sup>st</sup> and 15<sup>th</sup> of each month.  Unfortunately, Excel doesn&#8217;t work that way.  It essentially gives you the pattern of every 14 days.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/110711_1435_UseFillHand3.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>To get the 1<sup>st</sup> and 15<sup>th</sup> of every month, you&#8217;ll need to <strong>right-click</strong> the fill handle while dragging down.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/110711_1435_UseFillHand4.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>When you let go, you will get a series of choices.  Choose <strong>Fill Months</strong>.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/110711_1435_UseFillHand5.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>If you did that correctly, you will have the 1<sup>st</sup> and the 15<sup>th</sup> of each month.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/11/110711_1435_UseFillHand6.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p><span style="color:white">.<br />
</span></p>
<p>This is just one of the 50+ tricks that Bob has included in his book.
</p>
<p><a href="http://www.mrexcel.com/outsidethebox.html" target="_blank">Check it out</a>.
</p>
<p>
 </p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/fill-in-a-series-with-the-fill-handle/' rel='bookmark' title='Fill in a Series with the Fill Handle'>Fill in a Series with the Fill Handle</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/why-find-when-you-can-search/' rel='bookmark' title='Why FIND when you can SEARCH'>Why FIND when you can SEARCH</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/inserting-a-line-break-inside-a-cell/' rel='bookmark' title='Inserting a Line Break inside a Cell'>Inserting a Line Break inside a Cell</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/building-a-multiplication-heat-map/' rel='bookmark' title='Building a Multiplication Heat Map'>Building a Multiplication Heat Map</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/changing-font-size-of-just-the-formula-bar/' rel='bookmark' title='Changing Font Size of Just the Formula Bar'>Changing Font Size of Just the Formula Bar</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/use-fill-handle-to-fill-in-the-1st-and-15th-of-each-month/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merging Two Staggered Columns</title>
		<link>http://datapigtechnologies.com/blog/index.php/merging-two-staggered-columns/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/merging-two-staggered-columns/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 12:23:35 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Tips and Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/merging-two-staggered-columns/</guid>
		<description><![CDATA[Last week, I was working with some data when I encountered the need to merge two staggered columns. That is to say, I needed to merge two columns where the data was blank in either one column or the other. . Here is an example. I needed to bring placements and pulls into one column. [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/break-pivottable-report-filters-into-multiple-columns/' rel='bookmark' title='Break PivotTable Report Filters into Multiple Columns'>Break PivotTable Report Filters into Multiple Columns</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/creating-subtotals-on-many-columns/' rel='bookmark' title='Creating Subtotals on Many Columns'>Creating Subtotals on Many Columns</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/copying-vlookups-across-multiple-columns/' rel='bookmark' title='Copying VLOOKUPs Across Multiple Columns'>Copying VLOOKUPs Across Multiple Columns</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/inserting-a-line-break-inside-a-cell/' rel='bookmark' title='Inserting a Line Break inside a Cell'>Inserting a Line Break inside a Cell</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/building-a-multiplication-heat-map/' rel='bookmark' title='Building a Multiplication Heat Map'>Building a Multiplication Heat Map</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Last week, I was working with some data when I encountered the need to merge two staggered columns.
</p>
<p>That is to say, I needed to merge two columns where the data was blank in either one column or the other.
</p>
<p><span style="color:white">.<br />
</span></p>
<p>Here is an example.<br />
<span id="more-3520"></span>
</p>
<p>I needed to bring placements and pulls into one column.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/103111_1223_MergingTwoS1.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>Piece of cake!
</p>
<p>I simply copy the data in one column – with all the blanks.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/103111_1223_MergingTwoS2.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>Then I place my cursor on the other column, right-click, then activate the Paste Special dialog box.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/103111_1223_MergingTwoS3.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>On the Paste Special dialog box, I choose the Skip Blanks option, and then press OK.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/103111_1223_MergingTwoS4.png" alt=""/>
	</p>
<p><span style="color:white">.</span>
	</p>
<p>As you can see, all the data from the Pulls column has been copied to the Placements column without overwriting the data that was originally in Placements.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/103111_1223_MergingTwoS5.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>Now, I can reformat the table so that only one column shows.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/103111_1223_MergingTwoS6.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p>See that &#8211; no need for formulas or code.  Brilliant!</p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/break-pivottable-report-filters-into-multiple-columns/' rel='bookmark' title='Break PivotTable Report Filters into Multiple Columns'>Break PivotTable Report Filters into Multiple Columns</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/creating-subtotals-on-many-columns/' rel='bookmark' title='Creating Subtotals on Many Columns'>Creating Subtotals on Many Columns</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/copying-vlookups-across-multiple-columns/' rel='bookmark' title='Copying VLOOKUPs Across Multiple Columns'>Copying VLOOKUPs Across Multiple Columns</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/inserting-a-line-break-inside-a-cell/' rel='bookmark' title='Inserting a Line Break inside a Cell'>Inserting a Line Break inside a Cell</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/building-a-multiplication-heat-map/' rel='bookmark' title='Building a Multiplication Heat Map'>Building a Multiplication Heat Map</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/merging-two-staggered-columns/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Formatting Access Queries to the Thousands Place</title>
		<link>http://datapigtechnologies.com/blog/index.php/formatting-access-queries-to-the-thousands-place/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/formatting-access-queries-to-the-thousands-place/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 12:03:30 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Access Queries]]></category>
		<category><![CDATA[Access Tips and Tricks]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/formatting-access-queries-to-the-thousands-place/</guid>
		<description><![CDATA[In an Email last week, Christina asks: &#8220;Do you know of an easy way to show Access query results in thousands? Thanks DataPig.You are the like that black bird on Angry Birds – the bomb.&#8221; Ok….so I added that last sentence. But Christina did ask a pretty good question. . Here&#8217;s how you can format [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/documenting-access-queries-in-excel/' rel='bookmark' title='Documenting Access Queries in Excel'>Documenting Access Queries in Excel</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/changing-the-sort-order-of-crosstab-column-headings/' rel='bookmark' title='Changing Sort Order of Access Crosstab Headings'>Changing Sort Order of Access Crosstab Headings</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/getting-to-workdays-in-access/' rel='bookmark' title='Getting to Workdays in Access'>Getting to Workdays in Access</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/replacing-the-microsoft-access-splash-screen/' rel='bookmark' title='Replacing the Microsoft Access Splash Screen'>Replacing the Microsoft Access Splash Screen</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/create-a-keyboard-hot-key-to-start-excel-or-access/' rel='bookmark' title='Create a Keyboard Hot Key to Start Excel or Access'>Create a Keyboard Hot Key to Start Excel or Access</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In an Email last week, Christina asks:
</p>
<p><em>&#8220;Do you know of an easy way to show Access query results in thousands?<br />
Thanks DataPig.You are the like that black bird on Angry Birds – the bomb.&#8221;<br />
</em></p>
<p>Ok….so I added that last sentence.  But Christina did ask a pretty good question.
</p>
<p><span style="color:white">.<br />
</span></p>
<p>Here&#8217;s how you can format Access query fields so that they show as thousands.
</p>
<p><span style="color:white">.<br />
</span></p>
<p>You first start with a working query.  As you can see, this query shows revenue by market with an indication of how much of that revenue comes from Internet Sales.  You&#8217;ll notice that the revenue columns inundate you with lots of numbers.  That is to say, the revenue columns are difficult to read.   Showing these columns in thousands would help readability.<br />
<span id="more-3506"></span>
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/102411_1203_FormattingA1.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p><span style="color:white">.<br />
</span></p>
<p>Go into Design View and right click on the query field you want to format.
</p>
<p>This will pull up a context menu where you can select Properties.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/102411_1203_FormattingA2.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p><span style="color:white">.<br />
</span></p>
<p>In the Property Sheet dialog box, you will see the Format property.
</p>
<p>Here, you can enter any format syntax you would like.  In this case, we want to enter a format string that will give us numbers in the thousands place.  So we enter <strong>$#,###,</strong>.<strong><br/><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/102411_1203_FormattingA3.png" alt=""/><br />
		</strong></p>
<p><span style="color:white">.<br />
</span></p>
<p><span style="color:white">.<br />
</span></p>
<p>Once we save and run the query again, we can see that the numbers are in thousands place – making them much easier to read.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/102411_1203_FormattingA4.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p><span style="color:white">.<br />
</span></p>
<p>Access can handle pretty much any number formatting Excel can.  So you can get just as fancy in Access as you can in Excel.
</p>
<p>For example, I can get fancy and add a &#8220;k&#8221; indicator to all the revenue numbers by changing the format string to this:  <strong>$#,###, &#8220;k&#8221;</strong>.
</p>
<p><img src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/10/102411_1203_FormattingA5.png" alt=""/>
	</p>
<p><span style="color:white">.<br />
</span></p>
<p><span style="color:white">.<br />
</span></p>
<p>And remember, this formatting trick can be applied to Forms and Reports also (simply apply the formatting to their respective Format properties).
</p>
<p><span style="color:white">.<br />
</span></p>
<p>There you have it Christina.  I hope that helped. </p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/documenting-access-queries-in-excel/' rel='bookmark' title='Documenting Access Queries in Excel'>Documenting Access Queries in Excel</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/changing-the-sort-order-of-crosstab-column-headings/' rel='bookmark' title='Changing Sort Order of Access Crosstab Headings'>Changing Sort Order of Access Crosstab Headings</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/getting-to-workdays-in-access/' rel='bookmark' title='Getting to Workdays in Access'>Getting to Workdays in Access</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/replacing-the-microsoft-access-splash-screen/' rel='bookmark' title='Replacing the Microsoft Access Splash Screen'>Replacing the Microsoft Access Splash Screen</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/create-a-keyboard-hot-key-to-start-excel-or-access/' rel='bookmark' title='Create a Keyboard Hot Key to Start Excel or Access'>Create a Keyboard Hot Key to Start Excel or Access</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/formatting-access-queries-to-the-thousands-place/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack into a protected Excel 2007 or 2010 Workbook</title>
		<link>http://datapigtechnologies.com/blog/index.php/hack-into-a-protected-excel-2007-or-2010-workbook/</link>
		<comments>http://datapigtechnologies.com/blog/index.php/hack-into-a-protected-excel-2007-or-2010-workbook/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 10:35:31 +0000</pubDate>
		<dc:creator>datapig</dc:creator>
				<category><![CDATA[Excel Tips and Tricks]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://datapigtechnologies.com/blog/index.php/hack-into-a-protected-excel-2007-or-2010-workbook/</guid>
		<description><![CDATA[I&#8217;m back from the Power Analyst Bootcamp in Washington DC &#8211; and of course, it was a success. 37 of the finest analysts attended the 2-day event, where we shared our passion for Excel, deli meats, and spicy tricks and tips. In the end, everyone left with a bag full of new techniques that will [...]
Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/avoiding-data-cut-off-in-excel/' rel='bookmark' title='Avoiding Data Cut-Off in Excel'>Avoiding Data Cut-Off in Excel</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/filter-for-unique-records-in-excel/' rel='bookmark' title='Filter for Unique Records in Excel'>Filter for Unique Records in Excel</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/suppressing-the-excel-splash-screen/' rel='bookmark' title='Suppressing the Excel Splash Screen'>Suppressing the Excel Splash Screen</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/how-to-check-if-excel-is-working-properly/' rel='bookmark' title='How to Check if Excel is Working Properly'>How to Check if Excel is Working Properly</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/create-a-keyboard-hot-key-to-start-excel-or-access/' rel='bookmark' title='Create a Keyboard Hot Key to Start Excel or Access'>Create a Keyboard Hot Key to Start Excel or Access</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m back from the Power Analyst Bootcamp in Washington DC &#8211; and of course, it was a success.  37 of the finest analysts attended the 2-day event, where we shared our passion for Excel, deli meats, and spicy tricks and tips.  In the end, everyone left with a bag full of new techniques that will make them better analysts.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>While I was gone, there seems to have been a flurry of activity and questions in reference to hacking into a protected workbook.  A couple of years ago, I posted a slick technique you can use to <a href="http://datapigtechnologies.com/blog/index.php/hack-into-a-protected-excel-2007-sheet/" target="_blank">hack into a protected 2007 worksheet</a>.  Apparently, hacking in a protected workbook is also a highly desired talent.  So today, I&#8217;ll walk through the steps to hack into a protected workbook.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>Excel 2007 and 2010 files are essentially zipped packages that contain XML files. This means that if you take an xlsx file and change the extension to zip, you&#8217;ll be able to see all the xml documents that make up your Excel file.  Not only that &#8211; you can change the content and properties of an Excel 2007 file simply by manipulating the XML documents that make it up.<br />
<span id="more-3471"></span><br />
<span style="color: white;">.<br />
</span></p>
<p>That&#8217;s right.  You can remove workbook protection simply by applying a simple edit to the xml within the Excel file.</p>
<p><span style="color: white;">.<br />
</span></p>
<p>When you encounter a protected workbook, it&#8217;s typically locked down so that you can&#8217;t change the structure of the workbook.  This means you can&#8217;t unhide sheets, delete tabs, add sheets, or change the workbook structure in any way.</p>
<p><img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/09/092611_1035_Hackintoapr1.png" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>So let&#8217;s start hacking.</p>
<p><span style="color: white;">.<br />
</span></p>
<p><strong>Step 1:</strong> Make a backup of your file in case things take a turn for the worse.</p>
<p><strong>Step 2:</strong> Change the file extension to zip.</p>
<p><img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/09/092611_1035_Hackintoapr2.png" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p><strong>Step 3:</strong> Extract the contents of the zip file.</p>
<p><strong>Step 4:</strong> Go to the extracted files and navigate to the xml for the target sheet (found in the &#8216;xl\worksheets&#8217; directory)</p>
<p><img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/09/092611_1035_Hackintoapr3.png" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p><strong>Step 5:</strong> Open the target sheet&#8217;s xml document using an XML editor (I use a free editor called <a href="http://symbolclick.com/index.htm" target="_blank">XML Marker</a>)</p>
<p><strong>Step 6:</strong> Find the &#8216;workbookProtection&#8217; tag and remove the entire line.</p>
<p><img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/09/092611_1035_Hackintoapr4.png" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p><strong>Step 7:</strong> Save the edited xml document and replace the old xml document found in the original zip file.</p>
<p><strong>Step 8:</strong> Change the extension back to xlsx.</p>
<p><img alt="" src="http://datapigtechnologies.com/blog/wp-content/uploads/2011/09/092611_1035_Hackintoapr5.png" /></p>
<p><span style="color: white;">.<br />
</span></p>
<p>At this point, your workbook is unprotected!</p>
<p><span style="color: white;">.<br />
</span></p>
<p><span style="color: white;">.<br />
</span></p>
<p>A couple of notes:</p>
<p>1.  Any password you see in the XML file is not the real password, nor will it work if you try to use it. It&#8217;s worthless.</p>
<p>2.  It seems as though this will only work on workbooks that have been protected for structure only.  If the workbook has been protected for structure and &#8216;Windows&#8217;, something prevents you from even opening the Open XML package.</p>
<p>3.  You obviously cannot do this for Excel 2003 or any kind of xls files.</p>
<p>Related posts:<ol>
<li><a href='http://datapigtechnologies.com/blog/index.php/avoiding-data-cut-off-in-excel/' rel='bookmark' title='Avoiding Data Cut-Off in Excel'>Avoiding Data Cut-Off in Excel</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/filter-for-unique-records-in-excel/' rel='bookmark' title='Filter for Unique Records in Excel'>Filter for Unique Records in Excel</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/suppressing-the-excel-splash-screen/' rel='bookmark' title='Suppressing the Excel Splash Screen'>Suppressing the Excel Splash Screen</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/how-to-check-if-excel-is-working-properly/' rel='bookmark' title='How to Check if Excel is Working Properly'>How to Check if Excel is Working Properly</a></li>
<li><a href='http://datapigtechnologies.com/blog/index.php/create-a-keyboard-hot-key-to-start-excel-or-access/' rel='bookmark' title='Create a Keyboard Hot Key to Start Excel or Access'>Create a Keyboard Hot Key to Start Excel or Access</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://datapigtechnologies.com/blog/index.php/hack-into-a-protected-excel-2007-or-2010-workbook/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

