<?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>asap utilities / excel blog &#187; General</title>
	<atom:link href="http://www.asap-utilities.com/blog/index.php/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asap-utilities.com/blog</link>
	<description>Supercharge Excel</description>
	<lastBuildDate>Wed, 25 Jan 2012 10:53:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Happy Holidays</title>
		<link>http://www.asap-utilities.com/blog/index.php/2011/12/23/happy-holidays/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2011/12/23/happy-holidays/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 11:58:23 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/?p=1263</guid>
		<description><![CDATA[Happy Holidays and Merry Christmas! Lots of love and happiness for you, your co-workers, family and friends. And if you don't celebrate Christmas, have a great weekend!]]></description>
			<content:encoded><![CDATA[<p>Happy Holidays and Merry Christmas!<br />
Lots of love and happiness for you, your co-workers, family and friends.</p>
<p><img class="alignnone size-full wp-image-1269" title="Merry Christmas!" src="http://www.asap-utilities.com/blog/wp-content/FxCam_1324641164179-450.jpg" alt="Merry Christmas!" width="450" height="450" /></p>
<p>And if you don't celebrate Christmas, have a great weekend!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2011/12/23/happy-holidays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User question: How to send this sheet to an e-mail in Excel 2010?</title>
		<link>http://www.asap-utilities.com/blog/index.php/2011/11/21/user-question-how-to-send-this-sheet-to-an-e-mail-in-excel-2010/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2011/11/21/user-question-how-to-send-this-sheet-to-an-e-mail-in-excel-2010/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 07:30:53 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/?p=1215</guid>
		<description><![CDATA["Hi Bastien, I am a great admirer of you ASAP-utilities. Great work. I have a little problem with Excel 2010, that I am hoping that you might have a solution to. We have just switched over to the excel-2010 from excel-2003. In the 2003 there was a button to send this sheet to an e-mail. [...]]]></description>
			<content:encoded><![CDATA[<p><em><a href="http://www.asap-utilities.com/blog/wp-content/send-sheet-or-selection-by-email-excel-2003-full.png"><img class="alignright size-full wp-image-1222" title="Sent this Sheet" src="http://www.asap-utilities.com/blog/wp-content/sent-this-sheet-by-mail.png" alt="Sent this Sheet" width="200" height="252" /></a>"Hi Bastien,</em></p>
<p><em>I am a great admirer of you ASAP-utilities. Great work.</em></p>
<p><em>I have a little problem with Excel 2010, that I am hoping that you might have a solution to.</em><br />
<em>We have just switched over to the excel-2010 from excel-2003. In the 2003 there was a button to send this sheet to an e-mail.</em><br />
<em>I can’t do that in the 2010, and I have asked many “experts” and they are all saying that it’s not possible in the 2010.</em></p>
<p><em>Do you know a way to solve this or get my button back??"</em></p>
<p><strong>Yes, don't worry, you can still do this in Excel 2010.</strong></p>
<p>Microsoft hasn't removed it but just made it <a title="Microsoft.com: Send the file as the body of an e-mail message" href="http://office.microsoft.com/en-us/excel-help/send-a-document-in-email-HA010354244.aspx#_Toc266439605" target="_blank">difficult to find</a> (for no apparent reason)</p>
<p>Ron de Bruin, an expert on Excel, has written an excellent article on how to bring it back:<br />
<a title="Mail selection, range or worksheet in the body of a mail" href="http://www.rondebruin.nl/mail/folder3/mailenvelope.htm" target="_blank">http://www.rondebruin.nl/mail/folder3/mailenvelope.htm</a></p>
<p><em><a href="http://www.asap-utilities.com/blog/wp-content/send-sheet-or-selection-by-email-excel-2003.png"><img class="alignright size-thumbnail wp-image-1225" title="Send sheet or selection by email in Excel 2003" src="http://www.asap-utilities.com/blog/wp-content/send-sheet-or-selection-by-email-excel-2003-150x150.png" alt="Send sheet or selection by email in Excel 2003" width="150" height="150" /></a></em><em>In Excel 2002-2010 you have a option in the User Interface to mail a selection or worksheet in the body of the mail.<br />
Excel 2002-2003 : You find this button next to the save icon in the Standard toolbar or use File&gt;Send to&gt;mail recipient.<br />
Excel 2007-2010 : Microsoft hide it (It is not in the Office button&gt;Send menu or in BackStage View)<br />
But you can add this option to the QAT (Quick Access Toolbar)</em></p>
<ol>
<li><em>Office Button/File &gt; Excel Options</em></li>
<li><em>Customize (or Quick Access Toolbar in Excel 2010)</em></li>
<li><em>Choose "Commands Not in the Ribbon" in the "Choose Commands from" list</em></li>
<li><em>Select the command "Send to Mail Recipient"</em></li>
<li><em>Add</em></li>
<li><em>OK</em></li>
</ol>
<p><img class="alignnone size-full wp-image-1217" title="Send sheet or selection by mail in Excel 2007 and 2010" src="http://www.asap-utilities.com/blog/wp-content/send-sheet-by-mail-excel-2007-2010.png" alt="Send sheet or selection by mail in Excel 2007 and 2010" width="640" height="433" /></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2011/11/21/user-question-how-to-send-this-sheet-to-an-e-mail-in-excel-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User question: How to enter the same value on multiple sheets (or in multiple cells at once)</title>
		<link>http://www.asap-utilities.com/blog/index.php/2011/11/16/user-question-how-to-enter-the-same-value-on-multiple-sheets/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2011/11/16/user-question-how-to-enter-the-same-value-on-multiple-sheets/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 20:04:42 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[ASAP Utilities]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[how to with ASAP Utilities]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/?p=1186</guid>
		<description><![CDATA[Today we received the following email: Let me start by saying how wonderful I think your program is. It saves me a lot of time. I just created 100 sheets and named them from a list using ASAP -great! I then inserted the name of each sheet into a cell within the sheet using ASAP [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.asap-utilities.com/blog/wp-content/control+enter.jpg"><img class="alignright size-thumbnail wp-image-1190" title="control+enter" src="http://www.asap-utilities.com/blog/wp-content/control+enter-150x150.jpg" alt="Press control+enter to enter the same value in all selected cells" width="150" height="150" /></a>Today we received the following email:</p>
<p><em>Let me start by saying how wonderful I think your program is. It saves me a lot of time.<br />
I just created 100 sheets and named them from a list using ASAP -great!<br />
I then inserted the name of each sheet into a cell within the sheet using ASAP -fantastic!</em></p>
<p><em>Here's my problem:</em><br />
<em> In sheet one, I'd like to enter a formula in A2 and be able to copy it to A2 in the other 99 sheets. Can ASAP help me with this?</em><br />
<em> I'd also like to be able to do this with a value in A3.</em></p>
<p>Well, this can already be done with just Excel.</p>
<p>If you want to enter the same formula on all 100 sheets, just select all the sheets and then enter the formula in A2... However, <strong>instead of pressing Enter at the end, press Control+Enter at the end</strong>. That way the formula will be entered in all selected cells, also the same cell-address on the other selected sheets.<br />
You can also use this Ctrl+Enter to enter the same value in all selected cells on the same sheet.</p>
<p><span id="more-1186"></span>In case you're curious, the user used the following two tools to quickly create all the sheets:<br />
<a title="Insert multiple sheets (uses the cell values as sheet names)..." href="http://www.asap-utilities.com/asap-utilities-excel-tools-tip.php?tip=22&amp;utilities=20&amp;lang=en_us">Insert multiple sheets (uses the cell values as sheet names)...</a><br />
<a title="Insert sheet(s) name in selected cell(s)" href="http://www.asap-utilities.com/asap-utilities-excel-tools-tip.php?tip=25&amp;utilities=20&amp;lang=en_us">Insert sheet(s) name in selected cell(s)</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2011/11/16/user-question-how-to-enter-the-same-value-on-multiple-sheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy New Year!</title>
		<link>http://www.asap-utilities.com/blog/index.php/2011/01/03/happy-new-year-2011/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2011/01/03/happy-new-year-2011/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 12:55:49 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[ASAP Utilities]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/?p=991</guid>
		<description><![CDATA[I wish you all a wonderful new year with lots of health, happiness and prosperity! May the New Year be a good year to you and yours. And we'd like to thank you for your suggestions, enthusiasm and encouragement throughout the past 12 years. We've planned several new exiting and improved tools for ASAP Utilities [...]]]></description>
			<content:encoded><![CDATA[<p><strong>I wish you all a wonderful new year with lots of health, happiness and prosperity!<br />
May the New Year be a good year to you and yours.</strong></p>
<p>And we'd like to thank you for your suggestions, enthusiasm and encouragement throughout the past 12 years.<br />
<img class="alignnone size-full wp-image-992" style="margin-top: 4px;" title="May the New Year bring you health, happiness, and all other good things!" src="http://www.asap-utilities.com/blog/wp-content/happy-new-year-2011.png" alt="May the New Year bring you health, happiness, and all other good things!" width="487" height="177" /></p>
<p>We've planned several new exiting and improved tools for ASAP  Utilities in 2011.<br />
The following page shows the improvements that were made to ASAP Utilities the past year:<br />
<a title="ASAP Utilities version 4.6.4 compared to version 4.5.8" href="http://www.asap-utilities.com/compare-versions.php?first=40604&amp;second=40508">http://www.asap-utilities.com/compare-versions.php?first=40604&amp;second=40508</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2011/01/03/happy-new-year-2011/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to: Check the spelling on multiple or all sheets</title>
		<link>http://www.asap-utilities.com/blog/index.php/2010/01/13/how-to-check-the-spelling-on-multiple-or-all-sheets/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2010/01/13/how-to-check-the-spelling-on-multiple-or-all-sheets/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 12:30:58 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/?p=709</guid>
		<description><![CDATA[Last week I received the following question: How we can spell check on all sheets. Can you add this in next version/update? Well, you can already do this in Excel. Just select all or multiple sheets and then when you start the Spelling (F7) the spelling check will take place on the selected sheets.]]></description>
			<content:encoded><![CDATA[<p>Last week I received the following question:<br />
<em>How we can spell check on all sheets. Can you add this in next version/update?</em></p>
<p>Well, you can already do this in Excel.<br />
Just select <a href="http://www.asap-utilities.com/asap-utilities-excel-tools-tip.php?tip=16&amp;utilities=2&amp;lang=en_us">all</a> or multiple sheets and then when you start the Spelling (F7) the spelling check will take place on the selected sheets.</p>
<p><img class="alignnone size-full wp-image-711" title="The spelling check is complete for the selected sheets" src="http://www.asap-utilities.com/blog/wp-content/spelling-check-multiple-selected-sheets.png" alt="The spelling check is complete for the selected sheets" width="527" height="183" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2010/01/13/how-to-check-the-spelling-on-multiple-or-all-sheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macro: Keep only ASCII characters 32-127</title>
		<link>http://www.asap-utilities.com/blog/index.php/2009/08/13/macro-keep-only-ascii-characters-32-127/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2009/08/13/macro-keep-only-ascii-characters-32-127/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 07:11:20 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[how to with ASAP Utilities]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/?p=511</guid>
		<description><![CDATA[Last week I received the following question: I get sent Excel files from various vendors. I have to convert these to SAS datasets that get moved to a UNIX system. The SAS datasets can only contain ASCII 32-127. So I need to remove these from the Excel file. You can use the "Text » Advanced [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I received the following question:<br />
<em>I get sent Excel files from various vendors. I have to convert these to SAS datasets that get moved to a UNIX system. The SAS datasets can only contain ASCII 32-127. So I need to remove these from the Excel file.</em></p>
<p>You can use the "<a href="http://www.asap-utilities.com/asap-utilities-excel-tools-tip.php?tip=90&amp;utilities=78&amp;lang=en_us">Text » Advanced character remove or replace...</a>" utility to remove these characters. However it can be a bit time consuming to select these specific characters in the utility (although it will remember your settings so the next time will be quicker).<br />
If you need to do this often then a custom macro might be easier to use.</p>
<p>You can use the following macro to remove every character except for ASCII character 32-127:</p>
<div class="code"><span style="color: blue;">Sub</span> sbRemoveASCII_Outside32_127_B()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: rgb(0, 127, 0);">' Remove all ASCII characters that are not in the range of 32 till 127</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: rgb(0, 127, 0);">' from the selected cells</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">Dim</span> i&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">As</span> <span style="color: blue;">Long</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">Dim</span> j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">As</span> <span style="color: blue;">Long</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">Dim</span> rngCel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">As</span> Range<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">Dim</span> sValue&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">As</span> <span style="color: blue;">String</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">Dim</span> lTotal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: blue;">As</span> <span style="color: blue;">Long</span>
</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">On</span> <span style="color: blue;">Error</span> <span style="color: blue;">GoTo</span> ErrHandler<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application.EnableCancelKey = xlErrorHandler<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application.ScreenUpdating = <span style="color: blue;">False</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application.DisplayAlerts = <span style="color: blue;">False</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lTotal = Selection.Cells.Count<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">For</span> <span style="color: blue;">Each</span> rngCel <span style="color: blue;">In</span> Selection<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application.StatusBar = "Removing ASCI characters &lt;32 and &gt; 127 in " &amp; _<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lTotal &amp; " cells... " &amp; Format(j / lTotal, "0%")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sValue = rngCel.Value<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">If</span> Len(sValue) &gt; 0 <span style="color: blue;">Then</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">For</span> i = 1 <span style="color: blue;">To</span> 255<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">If</span> i &lt; 32 <span style="color: blue;">Or</span> i &gt; 127 <span style="color: blue;">Then</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sValue = Replace(sValue, Chr(i), "")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">End</span> <span style="color: blue;">If</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">Next</span> i<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">End</span> <span style="color: blue;">If</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rngCel.Value = sValue<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;j = j + 1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">Next</span> rngCel<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application.StatusBar = <span style="color: blue;">False</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application.ScreenUpdating = <span style="color: blue;">True</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application.DisplayAlerts = <span style="color: blue;">True</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">Exit</span> <span style="color: blue;">Sub</span></p>
<p>ErrHandler:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox "Sorry, something unexpected when wrong." &amp; vbNewLine &amp; _<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Error " &amp; Err.Number &amp; ": " &amp; Err.Description, vbCritical<br /><span style="color: blue;">End</span> <span style="color: blue;">Sub</span></p>
</div>
<p>Note: the macro loops through each cell. A general find/replace might be faster but gives problems with ASCII characters 1 and 2 because with those characters everything gets removed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2009/08/13/macro-keep-only-ascii-characters-32-127/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>List of keyboard shortcuts for Word 2002, Word 2003, and Word 2007</title>
		<link>http://www.asap-utilities.com/blog/index.php/2008/11/19/list-of-keyboard-shortcuts-for-word-2002-word-2003-and-word-2007/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2008/11/19/list-of-keyboard-shortcuts-for-word-2002-word-2003-and-word-2007/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 09:26:39 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/index.php/2008/11/19/list-of-keyboard-shortcuts-for-word-2002-word-2003-and-word-2007/</guid>
		<description><![CDATA[A bit off-topic but because working with shortcuts is often so much faster. I believe that shortcuts are are preferred when it comes to speed/productivity and reducing the chances on RSI. Microsoft: List of keyboard shortcuts for Word 2002, Word 2003, and Word 2007 http://support.microsoft.com/kb/290938 Just in case you weren't aware, we have a list [...]]]></description>
			<content:encoded><![CDATA[<p>A bit off-topic but because working with shortcuts is often so much faster.<br />
I believe that shortcuts are are preferred when it comes to speed/productivity and reducing the chances on RSI.</p>
<p>Microsoft: List of keyboard shortcuts for Word 2002, Word 2003, and Word 2007<br />
<a href="http://support.microsoft.com/kb/290938" target="_blank" class="external">http://support.microsoft.com/kb/290938</a></p>
<p>Just in case you weren't aware, we have a list of the shortcuts in Excel listed too:<br />
<a href="http://www.asap-utilities.com/excel-tips-shortcuts.php">http://www.asap-utilities.com/excel-tips-shortcuts.php</a></p>
<p>PS.<br />
If you know the shortcuts for the tools you use the most, you are not slowed down by searching for the option in the new Office 2007 ribbon the first period after you have upgraded to the new interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2008/11/19/list-of-keyboard-shortcuts-for-word-2002-word-2003-and-word-2007/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Prepare a document before sending it to others</title>
		<link>http://www.asap-utilities.com/blog/index.php/2008/10/27/prepare-a-document-before-sending-it-to-others/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2008/10/27/prepare-a-document-before-sending-it-to-others/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 14:30:46 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/index.php/2008/10/27/prepare-a-document-before-sending-it-to-others/</guid>
		<description><![CDATA[When you send your Excel workbook to other people, sometimes you want to protect or hide certain parts. For example the formulas you used or temporary data in hidden columns. You can do this by using Excel's worksheet protection, however you should know that this protection is easily broken and not very secure. A better [...]]]></description>
			<content:encoded><![CDATA[<p>When you send your Excel workbook to other people, sometimes you want to protect or hide certain parts.<br />
For example the formulas you used or temporary data in hidden columns.<br />
You can do this by using <a href="http://office.microsoft.com/en-us/excel/HA010346291033.aspx" target="_blank" class="external">Excel's worksheet protection</a>, however you should know that this protection is easily broken and <a href="http://spreadsheetpage.com/index.php/tip/spreadsheet_protection_faq1/" target="_blank" class="external">not very secure</a>.<br />
A better method to use might be to create a new version of your workbook in which you replace all the formulas with their calculated results and in which all the hidden data is removed.</p>
<p>The following macro will automatically replace all formulas with their calculated results and removes the hidden columns and rows on the selected worksheets:<br />
<span id="more-224"></span></p>
<div class="code"><span style="color:blue">Sub</span> RemoveFormulasAndHiddenCells()<br /> <span style="color:#007F00">&#039; usage:</span><br /> <span style="color:#007F00">&#039; 1. select the sheets</span><br /> <span style="color:#007F00">&#039; 2. run this macro</span></p>
<p> <span style="color:blue">Dim</span> ws&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">As</span> Worksheet<br /> <span style="color:blue">Dim</span> shSelection&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue">As</span> Sheets<br /> <span style="color:blue">Dim</span> i&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue">As</span> <span style="color:blue">Long</span><br /> <span style="color:blue">Dim</span> lMax&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">As</span> <span style="color:blue">Long</span></p>
<p> <span style="color:blue">Set</span> shSelection = ActiveWindow.SelectedSheets</p>
<p> <span style="color:blue">If</span> MsgBox("Do you want to replace all formulas with their calculated results " _<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#038; " on the selected " &#038; shSelection.Count &#038; " worksheets and then remove " _<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#038; "all hidden rows and columns?" &#038; vbNewLine &#038; "It recommended to save a " _<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#038; "copy of your original workbook first with a different name.", _<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; vbQuestion + vbYesNo) = vbNo <span style="color:blue">Then</span> <span style="color:blue">Exit</span> <span style="color:blue">Sub</span><br /> Application.ScreenUpdating = <span style="color:blue">False</span><br /> <span style="color:blue">For</span> <span style="color:blue">Each</span> ws <span style="color:blue">In</span> ActiveWindow.SelectedSheets<br />&#160;&#160;<span style="color:blue">If</span> ws.Type = xlWorksheet <span style="color:blue">Then</span><br />&#160;&#160; ws.Activate<br />&#160;&#160; <span style="color:#007F00">&#039; change formulas to their calculated results</span><br />&#160;&#160; ws.UsedRange.Copy<br />&#160;&#160; ws.UsedRange.PasteSpecial xlPasteValues<br />&#160;&#160; Application.CutCopyMode = <span style="color:blue">False</span><br />&#160;&#160; <span style="color:#007F00">&#039; remove hidden rows:</span><br />&#160;&#160; lMax = ws.UsedRange.Cells(ws.UsedRange.Cells.Count).Row<br />&#160;&#160; <span style="color:blue">For</span> i = lMax <span style="color:blue">To</span> 1 <span style="color:blue">Step</span> -1<br />&#160;&#160;&#160;&#160;<span style="color:blue">If</span> Cells(i, 1).EntireRow.Hidden = <span style="color:blue">True</span> <span style="color:blue">Then</span> Rows(i).Delete<br />&#160;&#160; <span style="color:blue">Next</span> i<br />&#160;&#160; <span style="color:#007F00">&#039; remove hidden columns:</span><br />&#160;&#160; lMax = ws.UsedRange.Cells(ws.UsedRange.Cells.Count).Column<br />&#160;&#160; <span style="color:blue">For</span> i = lMax <span style="color:blue">To</span> 1 <span style="color:blue">Step</span> -1<br />&#160;&#160;&#160;&#160;<span style="color:blue">If</span> Cells(1, i).EntireColumn.Hidden = <span style="color:blue">True</span> <span style="color:blue">Then</span> Columns(i).Delete<br />&#160;&#160; <span style="color:blue">Next</span> i<br />&#160;&#160; <span style="color:#007F00">&#039; select the upperleft cell on the worksheet</span><br />&#160;&#160; Cells(1).Select<br />&#160;&#160;<span style="color:blue">End</span> <span style="color:blue">If</span><br /> <span style="color:blue">Next</span> ws<br /> Application.ScreenUpdating = <span style="color:blue">True</span><br /> shSelection.Select<br /><span style="color:blue">End</span> <span style="color:blue">Sub</span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2008/10/27/prepare-a-document-before-sending-it-to-others/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weird looping through cells in a range object</title>
		<link>http://www.asap-utilities.com/blog/index.php/2008/10/23/weird-looping-through-cells/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2008/10/23/weird-looping-through-cells/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 12:12:13 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/index.php/2008/10/23/weird-looping-through-cells/</guid>
		<description><![CDATA[Below is something that I experienced a while ago and was beyond my logic. Setting a range and looping through all cells in it didn't work initially as expected. Sub WeirdCelLooping()&#160;&#160;&#160;&#160;&#160;&#160;Dim rngCel&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; As Range&#160;&#160;&#160;&#160;&#160;&#160;Dim rngSelection&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; As Range &#160;&#160;&#160;&#160;&#160;&#160;Range("A1:G10").Select &#160;&#160;&#160;&#160;&#160;&#160;&#039; Doesn&#039;t work correctly:&#160;&#160;&#160;&#160;&#160;&#160;For Each rngCel In Selection.Columns(1)&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#039; both rngCel and the selection have now the same [...]]]></description>
			<content:encoded><![CDATA[<p>Below is something that I experienced a while ago and was beyond my logic.<br />
Setting a range and looping through all cells in it didn't work initially as expected.</p>
<div class="code"><span style="color:blue">Sub</span> WeirdCelLooping()<br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">Dim</span> rngCel&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue">As</span> Range<br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">Dim</span> rngSelection&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue">As</span> Range</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;Range("A1:G10").Select</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#007F00">&#039; Doesn&#039;t work correctly:</span><br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">For</span> <span style="color:blue">Each</span> rngCel <span style="color:blue">In</span> Selection.Columns(1)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#007F00">&#039; both rngCel and the selection have now the same address</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Debug.Print rngCel.Address &#038; " as part of " &#038; Selection.Columns(1).Address<br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">Next</span></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#007F00">&#039; Doesn&#039;t work correctly:</span><br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">Set</span> rngSelection = Selection.Columns(1)<br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">For</span> <span style="color:blue">Each</span> rngCel <span style="color:blue">In</span> rngSelection<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#007F00">&#039; both rngCel and the selection now still have the same address</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Debug.Print rngCel.Address &#038; " as part of " &#038; Selection.Columns(1).Address<br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">Next</span></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#007F00">&#039; Does work correctly:</span><br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">Set</span> rngSelection = Range(Selection.Columns(1).Address)<br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">For</span> <span style="color:blue">Each</span> rngCel <span style="color:blue">In</span> rngSelection<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#007F00">&#039; finally we can loop through each cell in the range</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Debug.Print rngCel.Address &#038; " as part of " &#038; Selection.Columns(1).Address<br />&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:blue">Next</span><br /><span style="color:blue">End</span> <span style="color:blue">Sub</span></div>
<p><strong>Update October 24:</strong><br />
As stated in the comments below (thank!); the best practice to loop through a range is to explicitly add the .Cells at the end for the range:<br />
Selection.Columns(1)<strong>.Cells</strong><br />
rngSelection<strong>.Cells</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2008/10/23/weird-looping-through-cells/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Unhide all columns and rows</title>
		<link>http://www.asap-utilities.com/blog/index.php/2008/10/21/unhide-all-columns-and-rows/</link>
		<comments>http://www.asap-utilities.com/blog/index.php/2008/10/21/unhide-all-columns-and-rows/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 12:04:14 +0000</pubDate>
		<dc:creator>Bastien</dc:creator>
				<category><![CDATA[ASAP Utilities]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[how to with ASAP Utilities]]></category>

		<guid isPermaLink="false">http://www.asap-utilities.com/blog/index.php/2008/10/21/unhide-all-columns-and-rows/</guid>
		<description><![CDATA[A short macro that will unhide all columns and rows in order to make all data visible again. Might be useful in some cases. Sub UnhideAllColumnsRows() ' unhide all columns and rows on the current worksheet Cells.EntireColumn.Hidden = False Cells.EntireRow.Hidden = False End Sub If you want more control on which rows and/or columns to [...]]]></description>
			<content:encoded><![CDATA[<p>A short macro that will unhide all columns and rows in order to make all data visible again.<br />
Might be useful in some cases.</p>
<div class="code"><span style="color:blue">Sub</span> UnhideAllColumnsRows()<br />
<span style="color:#007F00">' unhide all columns and rows on the current worksheet</span><br />
Cells.EntireColumn.Hidden = <span style="color:blue">False</span><br />
Cells.EntireRow.Hidden = <span style="color:blue">False</span><br />
<span style="color:blue">End</span> <span style="color:blue">Sub</span></div>
<p>If you want more control on which rows and/or columns to unhide, you can also use <a title="View and manage hidden rows and columns..." href="http://www.asap-utilities.com/asap-utilities-excel-tools-tip.php?tip=65&amp;utilities=Columns+%26+Rows">this tool</a> from within ASAP Utilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asap-utilities.com/blog/index.php/2008/10/21/unhide-all-columns-and-rows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

