<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>ExceLiTems.com (Ashish Jain)</title><link>http://www.excelitems.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/excelitems" /><description>A collection of MS Excel VBA and VSTO macros, Functions, Tutorials and Downloads. &#xD;
&#xD;
Come, Explore and Learn&#xD;
http://www.excelitems.com</description><language>en</language><managingEditor>noreply@blogger.com (Ashish Jain)</managingEditor><lastBuildDate>Mon, 20 Feb 2012 07:59:23 PST</lastBuildDate><generator>Blogger</generator><atom:id xmlns:atom="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4740658050604206807</atom:id><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">89</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/excelitems" /><feedburner:info uri="excelitems" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>28.71093</geo:lat><geo:long>77.18208</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><image><link>http://www.excelitems.com</link><url>http://feeds.feedburner.com/~fc/excelitems?bg=99CCFF&amp;amp;fg=444444&amp;amp;anim=1</url><title>http://1.bp.blogspot.com/_gV5Uxtigafo/TQxBIzK3KyI/AAAAAAAADbw/gt1VbUzjfzY/S190/ExcelItems_Square_200_200.png</title></image><feedburner:emailServiceId>excelitems</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>How to use MS Excel Macro Recorder ?</title><link>http://feedproxy.google.com/~r/excelitems/~3/nt4glyCuW0c/how-use-macro-recorder-excel-2010-vba.html</link><category>Tutorials</category><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Fri, 13 Jan 2012 23:27:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-37007224484286222</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="background-color: white; color: #454545; font-family: Arial, Verdana; line-height: 20px; text-align: -webkit-auto;"&gt;&lt;b&gt;What is a macro?&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size: 12px;"&gt;A macro is a set of computer instructions that you can record and associate with a shortcut key combination or a macro name. Then, when you press the shortcut key combination or click the macro name, your computer program carries out the instructions of the macro. This saves you time by replacing an often-used, sometimes lengthy series of actions with a shorter action.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #454545; font-family: Arial, Verdana; font-size: 12px; line-height: 20px; text-align: -webkit-auto;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="line-height: 20px;"&gt;&lt;b&gt;How to record a macro?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;Let's record a macro to understand it and learn to save a lot of time for other activities.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;Step 01:&lt;/b&gt; Go to &lt;u&gt;Developer Tab&lt;/u&gt; and hit '&lt;u&gt;Record Macro&lt;/u&gt;' in the code section.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://openexcel.com/articles/excelitems/posts/macrorecorder/Macro_Recorder_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://openexcel.com/articles/excelitems/posts/macrorecorder/Macro_Recorder_01.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;Step 02:&lt;/b&gt; In the record macro window, provide these details:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://openexcel.com/articles/excelitems/posts/macrorecorder/Macro_Recorder_02.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="264" src="http://openexcel.com/articles/excelitems/posts/macrorecorder/Macro_Recorder_02.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;u&gt;Macro Name&lt;/u&gt;: Provide a macro name without spaces. Use underscore(_) or hyphen (-) instead to make it more meaningful and readable.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;u&gt;Shortcut Key (Optional)&lt;/u&gt;: Provide a shortcut key to recall/run the macro, whenever you need. Esp. if you are going to use this macro frequently.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;u&gt;Store macro in&lt;/u&gt;: Either This Workbook or Personal Workbook. If you store in 'This Workbook', the macro is available for use with in this workbook only, so you can use it if you need that other users to whom you are sending this workbook can also use it but if you want to use this macro only on your system on several workbooks for personal purposes then choose 'Personal Workbook' option.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;u&gt;Description (Optional)&lt;/u&gt;: It will help you and your fellow users to understand the purpose of macros in future.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;Step 03: &lt;/b&gt;Perform your actions which you want macro to do in future. For eg. Select, color, delete, adjust row/column height or width, enter some text, sort a table etc etc.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;Step 04:&lt;/b&gt; Stop the macro by hitting &lt;u&gt;'Stop Recording'&lt;/u&gt; button.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="line-height: 20px;"&gt;&lt;b&gt;How to use the recorded macro?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;Let's learn to use the recorded macros and save our time for some fun at work.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;Step 01:&lt;/b&gt; Go to &lt;u&gt;Developer Tab&lt;/u&gt; and hit '&lt;u&gt;Macros&lt;/u&gt;' or alternatively, press '&lt;u&gt;ALT + F8&lt;/u&gt;' combination to view the macros.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://openexcel.com/articles/excelitems/posts/macrorecorder/Macro_Recorder_03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://openexcel.com/articles/excelitems/posts/macrorecorder/Macro_Recorder_03.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;Step 02:&lt;/b&gt;&amp;nbsp;Select your macro and hit the '&lt;u&gt;Run&lt;/u&gt;' button.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;That's it. Isn't it simple ? From beginners to advanced Excel and VBA users still use the macro recorder but each user have different purpose to use this awesome feature of Microsoft Excel.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;span style="color: #454545; font-family: Arial, Verdana;"&gt;&lt;span style="font-size: 12px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-37007224484286222?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nt4glyCuW0c:0vV27xom_S4:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nt4glyCuW0c:0vV27xom_S4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nt4glyCuW0c:0vV27xom_S4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nt4glyCuW0c:0vV27xom_S4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=nt4glyCuW0c:0vV27xom_S4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nt4glyCuW0c:0vV27xom_S4:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nt4glyCuW0c:0vV27xom_S4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nt4glyCuW0c:0vV27xom_S4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=nt4glyCuW0c:0vV27xom_S4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/nt4glyCuW0c" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2012-01-15T17:39:02.961+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.excelitems.com/2012/01/how-use-macro-recorder-excel-2010-vba.html</feedburner:origLink></item><item><title>MS Excel &amp; VBA: Contact for Corporate Trainings</title><link>http://feedproxy.google.com/~r/excelitems/~3/KI_NWhKBFnY/excel-vba-corporate-training-india.html</link><category>Training</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Fri, 02 Sep 2011 00:07:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-8114269006893123788</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;What makes us one of the best Corporate Excel Trainer?&lt;br /&gt;&lt;br /&gt;1. Our Course Content (as given below)&lt;br /&gt;2. Microsoft Certified Professionals / Microsoft awarded "Most Valuable Professional"&lt;br /&gt;3. Training exposure to all industries. viz. Electronics to Finance.&lt;br /&gt;4. Ready spreadsheets for hands on experience.&lt;br /&gt;5. Step-wise example workbooks.&lt;br /&gt;6. Understanding of real needs.&lt;br /&gt;7. Quality assessment&lt;br /&gt;8. Relevant examples.&lt;br /&gt;&lt;br /&gt;We're flexible with training hours and course content. Please go through our standard course content given below and feel free to contact us anytime for your queries and confirmations.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Call us: 09999-40-48-43 / 09968-615-632&lt;br /&gt;E-Mail: training@OpenExcel.com&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;hr /&gt;&lt;div style="text-align: center;"&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="font-size: 18px;"&gt;&lt;b&gt;MS Excel 2007/2010&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Beginner&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Introduction to Excel&lt;br /&gt;Open, Close and Save&lt;br /&gt;Manipulating Text&lt;br /&gt;Styling and Formatting&lt;br /&gt;Playing with Numbers&lt;br /&gt;Date and Time Operations&lt;br /&gt;Dealing Hyperlinks&lt;br /&gt;Introduce Formulas&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;08 Hrs&lt;/div&gt;&lt;/div&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Intermediate&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Formulas&lt;br /&gt;Functions&lt;br /&gt;Sum and Count&lt;br /&gt;Daily use functions&lt;br /&gt;Named Ranges&lt;br /&gt;Filter and Sort&lt;br /&gt;Printing&lt;br /&gt;Import Text files&lt;br /&gt;Organizing Data&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;20 Hrs&lt;/div&gt;&lt;/div&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;center style="text-align: center;"&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Advanced&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Pivots tables&lt;br /&gt;Charts&lt;br /&gt;Subtotals&lt;br /&gt;Goal seek&lt;br /&gt;Scenarios&lt;br /&gt;Data Consolidation&lt;br /&gt;Group and Outline&lt;br /&gt;Security and Protection&lt;br /&gt;LOOKUP Functions&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;12 Hrs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr /&gt;&lt;div style="margin-top: 3em; text-align: center;"&gt;&lt;span style="font-size: 18px;"&gt;&lt;b&gt;Visual Basic for Automation (VBA)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Beginner&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Introduction to VBA&lt;br /&gt;Introduction to VBE&lt;br /&gt;Creating Sub routine&lt;br /&gt;Creating Function&lt;br /&gt;Excel Object Model&lt;br /&gt;Using EOM&lt;br /&gt;Using Macro recorder&lt;br /&gt;Examples&lt;br /&gt;Exercises&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;08 Hrs&lt;/div&gt;&lt;/div&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Intermediate&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Variables and Constants&lt;br /&gt;Conditional statements&lt;br /&gt;Loop statements&lt;br /&gt;Error handling&lt;br /&gt;Debugging&lt;br /&gt;Using Excel Functions&lt;br /&gt;Event Macros&lt;br /&gt;Using Forms&lt;br /&gt;Interactive Charts&lt;br /&gt;Dealing with Pivots&lt;br /&gt;Examples&lt;br /&gt;Exercises&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;20 Hrs&lt;/div&gt;&lt;/div&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Advanced&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Connect to Web&lt;br /&gt;Class Modules&lt;br /&gt;Connect to SQL/Access&lt;br /&gt;Using Windows API&lt;br /&gt;Commandbars/Toolbars&lt;br /&gt;RibbonX&lt;br /&gt;Examples&lt;br /&gt;Exercises&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;16 Hrs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr /&gt;&lt;div style="margin-top: 3em; text-align: center;"&gt;&lt;span style="font-size: 18px;"&gt;&lt;b&gt;Visual Studio Tools for Office (VSTO)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Beginner&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Introduction to VSTO&lt;br /&gt;New Features&lt;br /&gt;Running VBA project with VSTO&lt;br /&gt;Variables and Constants&lt;br /&gt;Conditional statements&lt;br /&gt;Loop statements&lt;br /&gt;Make and Run First Project&lt;br /&gt;Examples&lt;br /&gt;Exercises&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;04 Hrs&lt;/div&gt;&lt;/div&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Intermediate&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Create VSTO add-in&lt;br /&gt;Create and Use Dlls&lt;br /&gt;Error handling&lt;br /&gt;Debugging&lt;br /&gt;Using Excel Functions&lt;br /&gt;Event Macros&lt;br /&gt;Using Forms&lt;br /&gt;Charts and Pivots&lt;br /&gt;Security&lt;br /&gt;Examples&lt;br /&gt;Exercises&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;16 Hrs&lt;/div&gt;&lt;/div&gt;&lt;div style="float: left; text-align: left; width: 180px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;span style="font-size: 16px;"&gt;&lt;b&gt;Advanced&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;b&gt;Content:&lt;/b&gt;&lt;br /&gt;Connect to Web&lt;br /&gt;ODBC Connection&lt;br /&gt;Using Windows API&lt;br /&gt;RibbonX&lt;br /&gt;Crystal Reports&lt;br /&gt;Examples&lt;br /&gt;Exercises&lt;br /&gt;&lt;b&gt;Duration:&lt;/b&gt;&amp;nbsp;20 Hrs&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-8114269006893123788?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=KI_NWhKBFnY:KpkJwbpI888:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=KI_NWhKBFnY:KpkJwbpI888:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=KI_NWhKBFnY:KpkJwbpI888:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=KI_NWhKBFnY:KpkJwbpI888:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=KI_NWhKBFnY:KpkJwbpI888:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=KI_NWhKBFnY:KpkJwbpI888:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=KI_NWhKBFnY:KpkJwbpI888:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=KI_NWhKBFnY:KpkJwbpI888:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=KI_NWhKBFnY:KpkJwbpI888:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/KI_NWhKBFnY" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-09-02T12:58:03.502+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.excelitems.com/2011/09/excel-vba-corporate-training-india.html</feedburner:origLink></item><item><title>We need Work ! We want to help you ! Let's Connect :)</title><link>http://feedproxy.google.com/~r/excelitems/~3/_NeBEFdjbVw/outsource-excel-dashboard-report-work.html</link><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Thu, 01 Sep 2011 23:45:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-3763698747309015683</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;- Do you have work and running short of time?&lt;br /&gt;&amp;nbsp;- Looking for expertise in the dashboard automation, Excel, Report making or any Excel/VBA work?&lt;br /&gt;&amp;nbsp;- Looking for some affordable source to get work done?&lt;br /&gt;&amp;nbsp;- Tired of extending deadlines?&lt;br /&gt;&amp;nbsp;- Never find anyone achieving expectations?&lt;br /&gt;&amp;nbsp;- Your solution provider never talked about new ideas?&lt;br /&gt;&lt;br /&gt;If you answer any of the above questions in YES, then you seriously need to think about EXCEL ITEMS.&lt;br /&gt;&lt;br /&gt;The team at EXCEL ITEMS comprises of Commerce Graduates, Science Graduates with specialization in Mathematics and Microsoft awarded "Most Valuable Professional" with total experience of 17 years.&lt;br /&gt;&lt;br /&gt;Our industry experience ranges from Health care to Information Technology, Finance to Insurance or Capital markets. Our products can take any form exceeding customer expectations. For eg. we can integrate different platforms and technologies like MS Office, Java, HTML, XML, .NET, SQL to make the product more robust, usable and fast.&lt;br /&gt;&lt;br /&gt;We understand the value of your hard-earned money and hence we charge as low as $5 per hour.&lt;br /&gt;&lt;br /&gt;We may not be good in marketing ourselves but surely, we are good in our services and in our work. If you are interested or have any queries, drop us a mail on &lt;a href="mailto:work@openexcel.com"&gt;&lt;b&gt;work@openexcel.com&lt;/b&gt;&lt;/a&gt;. Let's Connect :)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-3763698747309015683?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_NeBEFdjbVw:se_-50Hucp0:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_NeBEFdjbVw:se_-50Hucp0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_NeBEFdjbVw:se_-50Hucp0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_NeBEFdjbVw:se_-50Hucp0:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=_NeBEFdjbVw:se_-50Hucp0:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_NeBEFdjbVw:se_-50Hucp0:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_NeBEFdjbVw:se_-50Hucp0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_NeBEFdjbVw:se_-50Hucp0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=_NeBEFdjbVw:se_-50Hucp0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/_NeBEFdjbVw" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-09-02T12:38:40.148+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.excelitems.com/2011/09/outsource-excel-dashboard-report-work.html</feedburner:origLink></item><item><title>15 Essential MS Excel VBA Puzzles for Interview</title><link>http://feedproxy.google.com/~r/excelitems/~3/S38ZKZ9-1Sc/excel-vba-macros-puzzles-interview.html</link><category>Interview</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Tue, 30 Aug 2011 17:56:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-9085712794621832359</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Thanks for the humongous response to our &lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Oral Interview questions&lt;/a&gt;  and &lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 Things to remember before you go for an Excel Interview&lt;/a&gt;. This really motivated us to bring this article for you. We all Excel lovers and learners are climbing a virtual staircase day-by-day, taking us to somewhere top of the world. Be confident, help others, share your experience and learn new knowledge and experiences out of it. &lt;br /&gt;&lt;br /&gt;In recent times, we have seen a &lt;a href="http://jobs.excelitems.com"&gt;great demand for Business Analysts, Data Analysts and other jobs&lt;/a&gt; which require good skills in Excel and VBA. Excel is used in every company and at home, while beginner misunderstoods it as a simple tool, amateurs, professionals and experts are still learning it, like you, me and everyone else and diving in the ocean of Excel to find new pearls everyday.&lt;br /&gt;&lt;br /&gt;In this article, we've presented some VBA Macro programs which are generally asked in VBA Interviews to check the skills of job aspirants. These VBA Interview questions ranges from logical problems, charts, pivots, event macros to creation of UDFs.&lt;br /&gt;&lt;br /&gt;Tip for Interviewers: You must do slight change to these questions, as many interviewee knows this website. Wish you all the best in selecting BEST candidate.&lt;br /&gt;Tip for Interviewee: Read my tip to interviewers and be ready. Wish you all the best in your future endeavours.&lt;br /&gt;&lt;hr /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Logical VBA Interview questions&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Input a number between 1 to 10 to create pyramid.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description: &lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Warn user, if he enters anything except a number between 1 to 10.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Pyramid must look like as presented in image below.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Input an alphabet and based on its alphabetic position(A=1, B=2 etc.) create a square grid.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description: &lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Warn user, if he enters anything except an alphabet from A to Z.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Square grid must look like as presented in image below.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;hr /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Charts VBA Interview questions&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Change the number format of axes and labels of all charts in workbook&lt;/span&gt;.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description: &lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Number format of axes should be like 10,20, 30 i.e. no decimals.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Number format of labels should be like 12.1,15.6, 25.5 i.e. one place of decimal.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Resize and rotate all charts by 90 degree in clock-wise direction in the given workbook.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Resize all charts of the workbook to the dimensions of chart named as "Main_Chart" in first sheet.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Then, rotate all charts by 90 degree in clockwise direction.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Run Charts Slideshow in Excel.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Provide option to go on next chart or exit the slideshow.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Charts must not be displaced from their initial position by the end of slideshow.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Size of charts must not be changed&amp;nbsp;from their initial size by the end of slideshow.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;hr /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Pivots VBA Interview questions&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Write a VBA macro to remove and add an existing calculated field from pivot.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp; Remove and add the existing calculated field with prompts informing the respective operations.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Perform your operation on provided pivot table and calculated formula field.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create any number of procedures to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;b&gt;Count the number of Pivots and Charts in Active workbook.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Count all the pivot tables and charts of each worksheet in active workbook.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Create a separate sheet for result with number of charts and pivots in each worksheet.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;b&gt;Record the user actions on Pivot Table in the provided cells.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Fill the yellow cells in the provided worksheet with changed filter name and time.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. Create a single event procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;hr /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;General VBA Interview questions&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Write a VBA macro to import all Tables from provided Access Database to Excel worksheets.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Write the VBA macro as if access database and excel file resides in same directory always.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Access Database is a mdb file i.e. Office 2003 format.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Create Access Database from provided Excel Workbook.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Each sheet of provided Excel file must represent separate table in Access database.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Access database should be of Office 2003 format i.e. a .mdb file.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Create User Defined Function to validate email addresses.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp; &amp;nbsp;To validate remember it should check exact one @ character.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ii. &amp;nbsp; &amp;nbsp;It must only contain alphanumeric set, underscore(_),hyphen or dash(-) and period/dot(.)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;iii. &amp;nbsp; Leftmost and Rightmost character should not be .&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;iv. &amp;nbsp; Period/dot (.) must appear at least once after the @.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v. &amp;nbsp; &amp;nbsp;There should be either 2 or 3 characters(eg. com, net, org, in, us, uk etc) after the last period (.)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vi. &amp;nbsp; There must be at least one alphanumeric character before @&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vii. &amp;nbsp;Create a single UDF procedure to achieve this.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;viii. &amp;nbsp;Test your UDF function against the provided dummy e-mail addresses list.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Create a workbook which a user can update and save but not be able to save the updates.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Do not apply worksheet or workbook protection.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;If macros enabled, a user can update the workbook and save it.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. But in reality, workbook is not saved and even do not warn or prompt anything.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;iv. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Create a UDF to extract first set of alphabets from alphanumeric strings/data.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Extract first set of alphabets from required list.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;For eg. extract eXceL from eXceL123iTems.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;When SEARCH button is clicked,search selected text on Bing in Internet Explorer.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp; Warn user, if the selection is a blank cell.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp; Warn user, if the selection is not a range or a single Cell.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Write an Excel VBA macro to select the text files through a window and delete them.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Description:&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i. &amp;nbsp;Provide file selection window, in which he can see only text files of a folder.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ii. &amp;nbsp;Prompt user for confirmation before actual deletion.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;iii. Create a single procedure to achieve this.&lt;br /&gt;&lt;br /&gt;&lt;!--&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Download Problem Excel File&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt;&lt;b&gt;View Solution Here&lt;/b&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt; --&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-9085712794621832359?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=S38ZKZ9-1Sc:Ire_wh4OqsM:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=S38ZKZ9-1Sc:Ire_wh4OqsM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=S38ZKZ9-1Sc:Ire_wh4OqsM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=S38ZKZ9-1Sc:Ire_wh4OqsM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=S38ZKZ9-1Sc:Ire_wh4OqsM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=S38ZKZ9-1Sc:Ire_wh4OqsM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=S38ZKZ9-1Sc:Ire_wh4OqsM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=S38ZKZ9-1Sc:Ire_wh4OqsM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=S38ZKZ9-1Sc:Ire_wh4OqsM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/S38ZKZ9-1Sc" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-08-31T06:27:58.049+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">California, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">37.16031654673677 -119.8828125</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">32.78436654673678 -127.3535155 41.53626654673677 -112.4121095</georss:box><feedburner:origLink>http://www.excelitems.com/2011/08/excel-vba-macros-puzzles-interview.html</feedburner:origLink></item><item><title>Relative and Absolute References in Excel Formulas</title><link>http://feedproxy.google.com/~r/excelitems/~3/nY5ljRyldzY/learn-how-absolute-relative-reference.html</link><category>Functions</category><category>Formula</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Sun, 28 Aug 2011 21:11:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-2246580467319712770</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center style="text-align: left;"&gt;When the reference is made to the Absolut Vodka, it's called absolute reference and when the reference is made to some family member, it's called Relative reference.. Hahhahaa...Just kidding..&lt;/center&gt;&lt;center style="text-align: left;"&gt;On serious note, absolute and relative reference is related to Excel Formulas and that's why it's here. Whenever we drag formulas or use auto-fill option to quickly fill the formulas, the reference of formulas may change depending on their type.&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;b&gt;What are the types of references?&lt;/b&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;1. Absolute Column/Absolute Row&lt;/center&gt;&lt;center style="text-align: left;"&gt;e.g. $A$1&lt;/center&gt;&lt;center style="text-align: left;"&gt;means Whether you use auto-fill across column or across row, the reference won't be changed.&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;center style="text-align: left;"&gt;2. Absolute Column/Relative Row&lt;/center&gt;&lt;center style="text-align: left;"&gt;e.g. $A1&lt;/center&gt;&lt;center style="text-align: left;"&gt;means When you use auto-fill across column, it will remain column A but when you auto-fill across row, the reference will change to $A2, $A3, $A4 and so on.&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;center style="text-align: left;"&gt;3. Relative Column/Absolute Row&lt;/center&gt;&lt;center style="text-align: left;"&gt;e.g. A$1&lt;/center&gt;&lt;center style="text-align: left;"&gt;means When you use auto-fill across row, it will remain row 1 but when you auto-fill across column, the reference will change to B$1, C$1, D$1 and so on.&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;center style="text-align: left;"&gt;4. Relative Column/Relative Row&lt;/center&gt;&lt;center style="text-align: left;"&gt;e.g. A1&lt;/center&gt;&lt;center style="text-align: left;"&gt;means When you use auto-fill across column,&amp;nbsp;the reference will change to B1, C1, D1 and so on&amp;nbsp;and when you auto-fill across row, the reference will change to A2, A3, A4 and so on.&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;b&gt;How to change the reference?&lt;/b&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;1. Prefix with $ manually.&lt;/center&gt;&lt;center style="text-align: left;"&gt;2. Right after entering the formula use F4 to toggle between the four kinds of references. (recommended)&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;b&gt;Where to use?&lt;/b&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;You can use it in formula or function in Excel spreadsheet, rest depends on your logic.&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;b&gt;Video Example:&lt;/b&gt;&lt;/center&gt;&lt;/center&gt;&lt;/center&gt;&lt;/center&gt;&lt;center&gt;&lt;iframe allowfullscreen="" frameborder="0" height="410" src="http://www.youtube.com/v/haOOry1c6Yo&amp;amp;showinfo=0&amp;amp;showsearch=0&amp;amp;rel=0&amp;amp;iv_load_policy=3&amp;amp;cc_load_policy=1&amp;amp;autoplay=0&amp;amp;loop=1&amp;amp;start=14&amp;amp;to=130" width="500"&gt;&lt;/iframe&gt;&lt;/center&gt;&lt;center&gt;&lt;br /&gt;&lt;/center&gt;&lt;center&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left;"&gt;&lt;b&gt;Bonus Tip: &lt;/b&gt;When you move formula (Cut+Paste), reference is preserved irrespective of absolute and relative reference but when formula is copied (Copy+Paste), reference is adjusted of 'Relative Referenced Cells'.&lt;/center&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-2246580467319712770?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nY5ljRyldzY:jWHvzKNTEFc:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nY5ljRyldzY:jWHvzKNTEFc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nY5ljRyldzY:jWHvzKNTEFc:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nY5ljRyldzY:jWHvzKNTEFc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=nY5ljRyldzY:jWHvzKNTEFc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nY5ljRyldzY:jWHvzKNTEFc:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nY5ljRyldzY:jWHvzKNTEFc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=nY5ljRyldzY:jWHvzKNTEFc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=nY5ljRyldzY:jWHvzKNTEFc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/nY5ljRyldzY" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-08-30T17:35:58.018+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.excelitems.com/2011/08/learn-how-absolute-relative-reference.html</feedburner:origLink></item><item><title>Online MS Excel Training: Quicker Excel</title><link>http://feedproxy.google.com/~r/excelitems/~3/t30FnjEIcms/online-ms-excel-training-quicker-excel.html</link><category>Training</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Sat, 27 Aug 2011 10:31:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-8027292763269174815</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://www.facebook.com/event.php?eid=239341486109843" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="375" src="http://3.bp.blogspot.com/-Wlj-Vf1ZMlU/TlkogllXTSI/AAAAAAAAEXQ/SIfum5PjUyA/s400/eXceLitems_training.png" width="500" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;hr /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 15px;"&gt;&lt;b&gt;For Whom?&lt;/b&gt;&lt;br /&gt;This MS Excel training is not for beginners, professional or expert users but for all EXCEL users.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is it?&lt;/b&gt;&lt;br /&gt;This will not teach you MS Excel but take you one-level up.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How can I attend it?&lt;/b&gt;&lt;br /&gt;1. Please join the presentation on&amp;nbsp;&lt;a href="http://www.teamviewer.com/download/version_6x/TeamViewerQJ.exe" rel="nofollow" style="color: #3b5998; cursor: pointer; text-decoration: none;" target="_blank"&gt;http://www.teamviewer.com/&lt;wbr&gt;&lt;/wbr&gt;&lt;span class="word_break" style="display: block; float: left; margin-left: -10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;download/version_6x/TeamVi&lt;wbr&gt;&lt;/wbr&gt;&lt;span class="word_break" style="display: block; float: left; margin-left: -10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/span&gt;ewerQJ.exe&lt;/a&gt;&lt;br /&gt;2. Use the following data to log in:&lt;br /&gt;ID: 875 681 537&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 15px;"&gt;Password: 4076&lt;br /&gt;&lt;br /&gt;&lt;b&gt;When it is?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 15px;"&gt;Delhi,India: 05:30 PM - 07:30 PM&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 15px;"&gt;Shanghai, China: 08:00 PM - 10:00 PM&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 15px;"&gt;London, UK: 01:00 PM - 03:00 PM&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 15px;"&gt;New York, US: 06:00 AM - 08:00 AM&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 15px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 15px;"&gt;&lt;b&gt;Cost:&lt;/b&gt;&lt;br /&gt;This time, it's free. Not sure, about next time.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;hr /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-8027292763269174815?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=t30FnjEIcms:QOsEjo1_tcg:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=t30FnjEIcms:QOsEjo1_tcg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=t30FnjEIcms:QOsEjo1_tcg:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=t30FnjEIcms:QOsEjo1_tcg:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=t30FnjEIcms:QOsEjo1_tcg:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=t30FnjEIcms:QOsEjo1_tcg:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=t30FnjEIcms:QOsEjo1_tcg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=t30FnjEIcms:QOsEjo1_tcg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=t30FnjEIcms:QOsEjo1_tcg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/t30FnjEIcms" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-08-29T10:41:13.118+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-Wlj-Vf1ZMlU/TlkogllXTSI/AAAAAAAAEXQ/SIfum5PjUyA/s72-c/eXceLitems_training.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.excelitems.com/2011/08/online-ms-excel-training-quicker-excel.html</feedburner:origLink></item><item><title>Split the Text with Newline Characters (Alt + Enter)</title><link>http://feedproxy.google.com/~r/excelitems/~3/yuihpeFt2vY/split-text-newline-character-vba-macros.html</link><category>Text</category><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Sat, 27 Aug 2011 04:35:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-7399792652406629901</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Splitting the text is a common problem though the kind of split and degree of split may vary problem to problem. There are several ways to solve the split problem depending upon the problem like using formulas, macros or manually. Similarly, would you like to split&amp;nbsp;horizontally&amp;nbsp;or vertically. See a similar situation below with problem (left) and the solution (right). If, you came across such problem usually or find it interesting then go ahead.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" height="240" id=":current_picnik_image" src="http://2.bp.blogspot.com/-HwsnMg8_7ck/TlkQU3bdURI/AAAAAAAAEXM/PbBSGa58H8I/s400/Split_Text_Example.png" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What can we do now?&lt;/div&gt;&lt;div&gt;1. Use Formulas : &amp;nbsp;Bit difficult and may not be robust.&lt;/div&gt;&lt;div&gt;2. Data -&amp;amp;gt; Text to Columns : &amp;nbsp;It won't work with new line character, moreover, it split horizontally only.&lt;/div&gt;&lt;div&gt;3. VBA Macros : &amp;nbsp;Yes, absolutely correct.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Click here to download the &lt;a href="http://openexcel.googlecode.com/files/Split_Text.xls"&gt;Split Text Tool&lt;/a&gt; or ....&lt;/div&gt;&lt;div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;hr /&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #0b5394;"&gt;Sub &lt;/span&gt;Split_Text()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #0b5394;"&gt;Dim &lt;/span&gt;splitVals &lt;span class="Apple-style-span" style="color: #0b5394;"&gt;As &lt;/span&gt;Variant&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Clearing destination to remove old results.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Sheet2.Range("A2:B65536").ClearContents&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'Reading Input&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #0b5394;"&gt; For Each&lt;/span&gt; mycell &lt;span class="Apple-style-span" style="color: #0b5394;"&gt;In &lt;/span&gt;Sheet1.Range("B2:B" &amp;amp;amp; Sheet1.Range("B65536").End(xlUp).Row).Cells&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'Chr(10) or vbLf is the newline character.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; splitVals = Split(mycell.Value, vbLf)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: #0b5394;"&gt;For &lt;/span&gt;i = 0&lt;span class="Apple-style-span" style="color: #0b5394;"&gt; To UBound&lt;/span&gt;(splitVals)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp; 'Writing Output to the Destination&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sheet2.Range("B65536").End(xlUp).Offset(1, 0).Value = splitVals(i)&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sheet2.Range("B65536").End(xlUp).Offset(0, -1).Value = mycell.Offset(0, -1).Value&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: #0b5394;"&gt;Next&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #0b5394;"&gt;&amp;nbsp; &amp;nbsp; Next&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #0b5394;"&gt;End Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-7399792652406629901?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=yuihpeFt2vY:a1BkwgH9tTE:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=yuihpeFt2vY:a1BkwgH9tTE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=yuihpeFt2vY:a1BkwgH9tTE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=yuihpeFt2vY:a1BkwgH9tTE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=yuihpeFt2vY:a1BkwgH9tTE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=yuihpeFt2vY:a1BkwgH9tTE:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=yuihpeFt2vY:a1BkwgH9tTE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=yuihpeFt2vY:a1BkwgH9tTE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=yuihpeFt2vY:a1BkwgH9tTE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/yuihpeFt2vY" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-08-29T10:41:29.865+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-HwsnMg8_7ck/TlkQU3bdURI/AAAAAAAAEXM/PbBSGa58H8I/s72-c/Split_Text_Example.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.excelitems.com/2011/08/split-text-newline-character-vba-macros.html</feedburner:origLink></item><item><title>Monthly Calendar Planner Template</title><link>http://feedproxy.google.com/~r/excelitems/~3/4ByMEIM85Pc/monthly-calendar-planner-template.html</link><category>Calendar</category><category>Excel Dashboards</category><category>Formatting</category><category>Formula</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Sat, 25 Jun 2011 13:08:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-7287622704197929610</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;hr/&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-6XSlQ34hves/TgY3Dp_Du1I/AAAAAAAAESI/YJ6LmP4wVjQ/s1600/Monthly_Calendar_Template.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="205" src="http://2.bp.blogspot.com/-6XSlQ34hves/TgY3Dp_Du1I/AAAAAAAAESI/YJ6LmP4wVjQ/s320/Monthly_Calendar_Template.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Tonight, I tried my hands on calendars and planners and sure, I come up with an elegant calendar which can be used as planner too but agree many of you won't consider it as a perfect one.&lt;br /&gt;&lt;br /&gt;So, I'll refine it more but instead of directly jumping to that, I advise Excel users and my readers to go through this version and see, how it is prepared. There is so much&amp;nbsp;learning&amp;nbsp;in it, you'll surely get benefit from it.&lt;br /&gt;&lt;br /&gt;Watch this Calendar Dashboard for:&lt;br /&gt;&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;Named Ranges&lt;/li&gt;&lt;li&gt;Range Linked Picture (Copy Range --&amp;gt; Paste as Picture Link, also known as Camera)&lt;/li&gt;&lt;li&gt;Conditional Formatting&lt;/li&gt;&lt;li&gt;Arrays&lt;/li&gt;&lt;li&gt;Combo Box (Active X Control)&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Click here to download the &lt;a href="http://openexcel.googlecode.com/files/Month%20Calendar%20Template.xlsx"&gt;Monthly Calendar Dashboard.&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-7287622704197929610?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=4ByMEIM85Pc:4XxFQV-QZ6Q:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=4ByMEIM85Pc:4XxFQV-QZ6Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=4ByMEIM85Pc:4XxFQV-QZ6Q:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=4ByMEIM85Pc:4XxFQV-QZ6Q:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=4ByMEIM85Pc:4XxFQV-QZ6Q:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=4ByMEIM85Pc:4XxFQV-QZ6Q:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=4ByMEIM85Pc:4XxFQV-QZ6Q:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=4ByMEIM85Pc:4XxFQV-QZ6Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=4ByMEIM85Pc:4XxFQV-QZ6Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/4ByMEIM85Pc" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-26T01:38:55.102+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-6XSlQ34hves/TgY3Dp_Du1I/AAAAAAAAESI/YJ6LmP4wVjQ/s72-c/Monthly_Calendar_Template.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Paris, France</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">48.84302851546876 2.3620601718749867</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">48.79974251546876 2.239199171874987 48.88631451546876 2.4849211718749866</georss:box><feedburner:origLink>http://www.excelitems.com/2011/06/monthly-calendar-planner-template.html</feedburner:origLink></item><item><title>Sort TCP/IP Address or Delimited Numbers</title><link>http://feedproxy.google.com/~r/excelitems/~3/Q0gFmEgihiE/sort-tcp-ip-address-excel-delimited-vba.html</link><category>Number</category><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Thu, 23 Jun 2011 23:48:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-6044527333762277962</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Are you a reporting analyst in IT firm, network engineer, networking analyst or any one who works on network data? If yes, then you ever tried to sort TCP/IP Addresses, I'm sure something like red list in this figure, would have happened and you must have desired the green list. This is the issue of sorting with delimited numbers like 1.1.2, &amp;nbsp;1.1.1, &amp;nbsp;1.1.10 which results in 1.1.1, &amp;nbsp;1.1.10, &amp;nbsp;1.1.2.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-J4N9mr1VYI0/TgQyd9qfJ2I/AAAAAAAAESA/d7ghJaa-0X4/s1600/Sort+01.png" /&gt;&lt;/div&gt;&lt;br /&gt;Generally, computer and languages on which computers operate treat them as string literals and sorting is based on their ASCII character number. So, the solution is to normalize them, sort them and denormalize back in their original form.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" height="195" src="http://1.bp.blogspot.com/-zyKGc0JKb08/TgQynb51_AI/AAAAAAAAESE/4ddNKfgmto4/s640/Sort02.png" width="500" /&gt;&lt;/div&gt;&lt;br /&gt;This is how, the given VBA macro works. Hope, you understand it easily and leave any questions for clarifications in the comments section.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;TCP_IP_Sort()&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;totalcells &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Long, ix &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Long&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;p1 &lt;span class="Apple-style-span" style="color: blue;"&gt;As&lt;/span&gt; Byte, p2 &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Byte, p3 &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Byte, px &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Byte&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;i1 &lt;span class="Apple-style-span" style="color: blue;"&gt;As&lt;/span&gt; Byte, i2 &lt;span class="Apple-style-span" style="color: blue;"&gt;As&lt;/span&gt; Byte, i3 &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Byte, i4 &lt;span class="Apple-style-span" style="color: blue;"&gt;As&lt;/span&gt; Byte&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; Application.ScreenUpdating = &lt;span class="Apple-style-span" style="color: blue;"&gt;False&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; Application.Calculation = xlCalculationManual&lt;br /&gt;&amp;nbsp; &amp;nbsp; Application.DisplayAlerts = &lt;span class="Apple-style-span" style="color: blue;"&gt;False&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; &amp;nbsp; On Error Resume Next&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt; 'Part 01 - Converts 127.0.0.1 to 127.000.000.001 form&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; totalcells = Selection.count&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;For&lt;/span&gt; ix = 1 &lt;span class="Apple-style-span" style="color: blue;"&gt;To &lt;/span&gt;totalcells&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;actualValue = Selection.Item(ix)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p1 = 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p2 = 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p3 = 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;For&lt;/span&gt; px = 2 &lt;span class="Apple-style-span" style="color: blue;"&gt;To &lt;/span&gt;Len(actualValue)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;Mid(actualValue, px, 1) = "." &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;p1 = 0 &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p1 = px&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;ElseIf&lt;/span&gt; p2 = 0 Then p2 = px&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;ElseIf &lt;/span&gt;p3 = 0 Then p3 = px&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Next&lt;/span&gt; px&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Selection.Item(ix).Value = Right("00000" &amp;amp; Mid(actualValue, 1, p1 - 1), 3) _&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp; "." &amp;amp; Right("00000" &amp;amp; Mid(actualValue, p1 + 1, p2 - p1 - 1), 3) _&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp; "." &amp;amp; Right("00000" &amp;amp; Mid(actualValue, p2 + 1, p3 - p2 - 1), 3) _&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp; "." &amp;amp; Right("00000" &amp;amp; Mid(actualValue, p3 + 1), 3)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Next&lt;/span&gt; ix&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp; 'Part 02 - Sort the normalized form.&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;xlWbk &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Workbook, xlSht &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Worksheet, cRng &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;String&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;xlWbk = ActiveWorkbook&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;xlSht = ActiveSheet&lt;br /&gt;&amp;nbsp; &amp;nbsp; cRng = Selection.Cells.Address(0, 0)&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; xlSht.Sort.SortFields.Clear&lt;br /&gt;&amp;nbsp; &amp;nbsp; xlSht.Sort.SortFields.Add Key:=Range(cRng), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;With &lt;/span&gt;xlSht.Sort&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .SetRange Range(cRng)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Header = xlGuess&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .MatchCase = &lt;span class="Apple-style-span" style="color: blue;"&gt;False&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Orientation = xlTopToBottom&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .SortMethod = xlPinYin&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Apply&lt;br /&gt;&amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; End With&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp; &amp;nbsp;'Part 03 - Convert 127.000.000.001 (normalized form) to 127.0.0.1 (actual form)&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;For &lt;/span&gt;ix = 1 &lt;span class="Apple-style-span" style="color: blue;"&gt;To &lt;/span&gt;totalcells&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;actualValue = Selection.Item(ix)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p1 = 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p2 = 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p3 = 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;For &lt;/span&gt;px = 2 &lt;span class="Apple-style-span" style="color: blue;"&gt;To &lt;/span&gt;Len(actualValue)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;Mid(actualValue, px, 1) = "."&lt;span class="Apple-style-span" style="color: blue;"&gt; Then&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If&lt;/span&gt; p1 = 0 &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p1 = px&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;ElseIf &lt;/span&gt;p2 = 0 Then p2 = px&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;ElseIf &lt;/span&gt;p3 = 0 Then p3 = px&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End If&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Next&lt;/span&gt; px&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i1 = Mid(actualValue, 1, p1 - 1) + 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i2 = Mid(actualValue, p1 + 1, p2 - p1 - 1) + 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i3 = Mid(actualValue, p2 + 1, p3 - p2 - 1) + 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i4 = Mid(actualValue, p3 + 1, Len(actualValue) - p3) + 0&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Selection.Item(ix).Value = i1 &amp;amp; "." &amp;amp; i2 &amp;amp; "." &amp;amp; i3 &amp;amp; "." &amp;amp; i4&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Next &lt;/span&gt;ix&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; Application.ScreenUpdating = &lt;span class="Apple-style-span" style="color: blue;"&gt;True&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; Application.Calculation = xlCalculationAutomatic&lt;br /&gt;&amp;nbsp; &amp;nbsp; Application.DisplayAlerts = &lt;span class="Apple-style-span" style="color: blue;"&gt;True&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp; &amp;nbsp; On Error GoTo &lt;/span&gt;0&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-6044527333762277962?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=Q0gFmEgihiE:6yMXSmxTBLU:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=Q0gFmEgihiE:6yMXSmxTBLU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=Q0gFmEgihiE:6yMXSmxTBLU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=Q0gFmEgihiE:6yMXSmxTBLU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=Q0gFmEgihiE:6yMXSmxTBLU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=Q0gFmEgihiE:6yMXSmxTBLU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=Q0gFmEgihiE:6yMXSmxTBLU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=Q0gFmEgihiE:6yMXSmxTBLU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=Q0gFmEgihiE:6yMXSmxTBLU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/Q0gFmEgihiE" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-24T12:22:01.908+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-J4N9mr1VYI0/TgQyd9qfJ2I/AAAAAAAAESA/d7ghJaa-0X4/s72-c/Sort+01.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">San Francisco, CA, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">37.7749295 -122.41941550000001</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">37.7206295 -122.50881550000001 37.8292295 -122.33001550000002</georss:box><feedburner:origLink>http://www.excelitems.com/2011/06/sort-tcp-ip-address-excel-delimited-vba.html</feedburner:origLink></item><item><title>Load Array from Sheet Range</title><link>http://feedproxy.google.com/~r/excelitems/~3/VxZtKTFrslU/load-array-from-sheet-range.html</link><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Thu, 02 Jun 2011 02:45:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-4207183522374899303</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;The post starts with a bad news, I had a severe car accident causing 6 fractures in 5 ribs around 10 days before. I express my sincere THANKS to God, Family and my well wishers, everything is fine now... though I'm on bed rest but can't resist myself posting on the blog. &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This post is about a VBA trick can be considered as short tip for my fellow readers... If you frequently use arrays and wants to load the values dynamically from a particular range then this VBA macro will be very handy to you.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;Load_Array_Dynamically_From_Range()&lt;br /&gt;&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;arrRng()&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim&lt;/span&gt; Rng &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Range&lt;br /&gt;&lt;br /&gt;    x = 0&lt;br /&gt;&lt;br /&gt;   &lt;span class="Apple-style-span" style="color: blue;"&gt; For Each &lt;/span&gt;Rng &lt;span class="Apple-style-span" style="color: blue;"&gt;In &lt;/span&gt;Range("A1:A5")&lt;br /&gt;        &lt;span class="Apple-style-span" style="color: blue;"&gt;ReDim Preserve &lt;/span&gt;arrRng(x)&lt;br /&gt;        arrRng(x) = Rng.Value&lt;br /&gt;        x = x + 1&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Next &lt;/span&gt;Rng&lt;br /&gt;&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;For Each&lt;/span&gt; Item &lt;span class="Apple-style-span" style="color: blue;"&gt;In&lt;/span&gt; arrRng&lt;br /&gt;        Debug.Print Item&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Next&lt;br /&gt;&lt;br /&gt;End Sub&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-4207183522374899303?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VxZtKTFrslU:Gjb1wrj28yE:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VxZtKTFrslU:Gjb1wrj28yE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VxZtKTFrslU:Gjb1wrj28yE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VxZtKTFrslU:Gjb1wrj28yE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=VxZtKTFrslU:Gjb1wrj28yE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VxZtKTFrslU:Gjb1wrj28yE:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VxZtKTFrslU:Gjb1wrj28yE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VxZtKTFrslU:Gjb1wrj28yE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=VxZtKTFrslU:Gjb1wrj28yE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/VxZtKTFrslU" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-02T15:15:56.502+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">California, USA</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">36.778261 -119.41793239999998</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">32.0379185 -124.59332839999999 41.5186035 -114.24253639999998</georss:box><feedburner:origLink>http://www.excelitems.com/2011/06/load-array-from-sheet-range.html</feedburner:origLink></item><item><title>Analyzing Date and Time Related Data in Excel</title><link>http://feedproxy.google.com/~r/excelitems/~3/RBuPbJdALSk/analyzing-date-and-time-related-data-in.html</link><category>Date/Time</category><category>Functions</category><category>Custom Formula</category><category>Formula</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Thu, 24 Mar 2011 04:58:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-966569027923374693</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Date and time based data is a very common feature of many Microsoft Excel spreadsheets. Your time-related information might include project management deadlines, meeting start and end times, admission dates to the ER and so on. Sometimes it gets complicated and confusing when it comes to analyzing this data, however...&lt;br /&gt;&lt;br /&gt;In this article I will show you an example of how one can analyze time related data in Microsoft Excel spreadsheets while avoiding resorting to the confusing date and time math!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Working Example&lt;/b&gt;&lt;br /&gt;Let's take the &lt;a href="http://openexcel.googlecode.com/files/Analyze_Date_and_Time_Data.xlsx"&gt;ER appointment example&lt;/a&gt; to demonstrate how Excel can analyze this data.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;We will make a table with a list of daily ER admissions, with the following columns:&lt;/u&gt;&lt;br /&gt;&amp;nbsp;- Admission Id (a running number)&lt;br /&gt;&amp;nbsp;- Patient Name &lt;br /&gt;&amp;nbsp;- Problem (fever, head wound, etc) &lt;br /&gt;&amp;nbsp;- Time admitted &lt;br /&gt;&amp;nbsp;- Time released &lt;br /&gt;&lt;img border="0" src="https://lh4.googleusercontent.com/-MkUCDo8H5VU/TYst3MKM-rI/AAAAAAAADmE/XR9D-Z_80eM/s640/time-released.png" width="600"/&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;To analyze this data we would need the following formulas:&lt;/u&gt;&lt;br /&gt;&amp;nbsp;- How many patients were admitted.&lt;br /&gt;&amp;nbsp;- How many patients are admitted in the evening versus the morning. &lt;br /&gt;&lt;img border="0" height="130" src="https://lh6.googleusercontent.com/-SoY8GuLGPAM/TYst1UCZTWI/AAAAAAAADmA/t4zHAMt7qDk/s400/the-morning.png" width="400" /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Our first task is to count the number of people admitted with various problems. This is easy enough, we simply use COUNTIF.&lt;br /&gt;&lt;br /&gt;=COUNTIF(C$2:C$101,G2)&lt;br /&gt;This counts occurrences in a given range that match the problem name found in column G.&lt;br /&gt;&lt;br /&gt;We can then extend this to discover the number of people who were admitted in the AM or PM with the COUNTIFS function:&lt;br /&gt;&lt;br /&gt;=COUNTIFS(C$2:C$101,G2,$D$2:$D$101,"&amp;gt;=12:00 PM")&lt;br /&gt;So this counts those where the problem matches AND where the admittance time is greater or equal to 12:00 PM. Easy!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;br /&gt;Hopefully this simple example will demonstrate that while time math is tricky and confusing sometimes to do manually, it is very easy and straightforward when you get Excel to do the heavy lifting!&lt;br /&gt;&lt;hr/&gt;&lt;b&gt;About the author&lt;/b&gt;&lt;br /&gt;Yoav Ezer co-authors the technology and productivity blog Codswallop.&amp;nbsp;He is also the CEO of a company that produces &lt;a href="http://www.cogniview.com/pdf2xl.php"&gt;PDF to Excel&lt;/a&gt; conversion  software.&lt;br /&gt;&lt;br /&gt;For more Excel tips from Yoav, join him on &lt;a href="http://www.facebook.com/Cogniview.Codswallop"&gt;Facebook&lt;/a&gt; or &lt;a href="http://twitter.com/cogniview"&gt;Twitter&lt;/a&gt;.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-966569027923374693?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=RBuPbJdALSk:CzU6HMBWn0c:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=RBuPbJdALSk:CzU6HMBWn0c:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=RBuPbJdALSk:CzU6HMBWn0c:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=RBuPbJdALSk:CzU6HMBWn0c:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=RBuPbJdALSk:CzU6HMBWn0c:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=RBuPbJdALSk:CzU6HMBWn0c:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=RBuPbJdALSk:CzU6HMBWn0c:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=RBuPbJdALSk:CzU6HMBWn0c:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=RBuPbJdALSk:CzU6HMBWn0c:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/RBuPbJdALSk" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-03-24T17:31:30.600+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh4.googleusercontent.com/-MkUCDo8H5VU/TYst3MKM-rI/AAAAAAAADmE/XR9D-Z_80eM/s72-c/time-released.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.excelitems.com/2011/03/analyzing-date-and-time-related-data-in.html</feedburner:origLink></item><item><title>Create Excel Dashboard using OFFSET, SUM and MATCH functions</title><link>http://feedproxy.google.com/~r/excelitems/~3/_vjaLsFiTiI/using-offset-sum-match-excel-functions.html</link><category>OFFSET Function</category><category>Functions</category><category>Conditional Formatting</category><category>Excel Dashboards</category><category>Dashboard Development</category><category>Data Validation</category><category>Formatting</category><category>Formula</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Sun, 06 Mar 2011 08:42:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-4536809940931912447</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;As we learned in our &lt;a href="http://www.excelitems.com/2011/01/use-offset-function-dynamic-range.html"&gt;previous article on OFFSET function&lt;/a&gt;, when we increase either the row height or column width in the offset  function "=OFFSET(A1,2,0,&lt;b&gt;1,1&lt;/b&gt;)" to more than 1, the reference is  converted to a range from a single cell value. Now this range can be provided to various formulas where it will be used as Dynamic Range.&lt;br /&gt;&lt;br /&gt;Now we'll try to understand how to use OFFSET function in conjunction with SUM Function. Before we begin, let's have a look at a dashboard where we're effectively using SUM Function in conjunction with OFFSET and MATCH function.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object class="embeddedObject" data="http://content.screencast.com/users/eXceLiTems/folders/Jing/media/20962de6-005f-4402-885f-c963e66901c9/jingswfplayer.swf" height="270" id="scPlayer" type="application/x-shockwave-flash" width="574"&gt;  &lt;param name="movie" value="http://content.screencast.com/users/eXceLiTems/folders/Jing/media/20962de6-005f-4402-885f-c963e66901c9/jingswfplayer.swf" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;param name="flashVars" value="containerwidth=574&amp;containerheight=270&amp;thumb=http://content.screencast.com/users/eXceLiTems/folders/Jing/media/20962de6-005f-4402-885f-c963e66901c9/FirstFrame.jpg&amp;content=http://content.screencast.com/users/eXceLiTems/folders/Jing/media/20962de6-005f-4402-885f-c963e66901c9/2011-03-06_2138.swf&amp;blurover=false" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;param name="scale" value="showall" /&gt;&lt;param name="allowScriptAccess" value="always" /&gt;&lt;param name="base" value="http://content.screencast.com/users/eXceLiTems/folders/Jing/media/20962de6-005f-4402-885f-c963e66901c9/" /&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;hr /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Unwinding the Nested Formula and Conditional Formatting used in the Sample Dashboard&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;FORMULA USED:&lt;br /&gt;=SUM(OFFSET(B6,0,0,1,MATCH($B$3,$B$5:$M$5,0)))&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. MATCH Function&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Syntax&lt;/b&gt;: MATCH(lookup_value,lookup_array,match_type)&lt;br /&gt;&lt;b&gt;Definition&lt;/b&gt;: It returns the relative position of an item in an array that matches a specified value in a specified order. It is used instead of the LOOKUP functions when we need the position of an item in a range instead of the item itself. (Source: Excel Help on Match Function)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Lookup_value&lt;/b&gt;   is the value you use to find the value you want in a table.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Lookup_array&lt;/b&gt;   is a contiguous range of cells containing possible lookup values. Lookup_array must be an array or an array reference.&lt;br /&gt;&lt;br /&gt;&lt;b class="runinhead"&gt;Match_type&lt;/b&gt;&amp;nbsp;&amp;nbsp; is the number -1, 0, or 1. Match_type  specifies how Microsoft Excel matches lookup_value with values in  lookup_array.&lt;br /&gt;&lt;ul type="disc"&gt;&lt;li&gt; If match_type is 1, MATCH finds the largest value that is less than or equal  to lookup_value. Lookup_array must be placed in ascending order: ...-2, -1, 0,  1, 2, ..., A-Z, FALSE, TRUE.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; If match_type is 0, MATCH finds the first value that is exactly equal to  lookup_value. Lookup_array can be in any order.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; If match_type is -1, MATCH finds the smallest value that is greater than or  equal to lookup_value. Lookup_array must be placed in descending order: TRUE,  FALSE, Z-A, ...2, 1, 0, -1, -2, ..., and so on.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; If match_type is omitted, it is assumed to be 1.&lt;/li&gt;&lt;/ul&gt;IN OUR EXAMPLE, we're using&amp;nbsp;MATCH($B$3,$B$5:$M$5,0), which as per the&amp;nbsp;definition&amp;nbsp;of MATCH function returns the index number / position of cell B3 in the array B5:M5. So, if you'll choose APR, it will return 1, in case of AUG, it will return 5 and so on....Please note, we choose 0 for the exact match as well.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;2. OFFSET Function&lt;/b&gt;&lt;br /&gt;Here we used &lt;a href="http://www.excelitems.com/2011/01/use-offset-function-dynamic-range.html"&gt;Type-IV OFFSET Function&lt;/a&gt;&amp;nbsp;which takes single cell as input but returns a range of single/multiple cells depending on the return value of MATCH function.&lt;br /&gt;In our example, we're using&amp;nbsp;OFFSET(B6,0,0,1,MATCH($B$3,$B$5:$M$5,0)). So, if we choose B3 as APR, it will be&amp;nbsp;OFFSET(B6,0,0,1,1) which means B6, similarly if we choose B3 as OCT, it will be&amp;nbsp;OFFSET(B6,0,0,1,7) which means B6:H6.&lt;br /&gt;&lt;a href="http://www.excelitems.com/2011/01/use-offset-function-dynamic-range.html"&gt;Read the full article on OFFSET Function here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;3. SUM Function&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Definition&lt;/b&gt;: Adds all the numbers in a range of cells.&lt;br /&gt;&lt;b&gt;Syntax:&lt;/b&gt;&amp;nbsp;&lt;span class="bterm"&gt;SUM&lt;/span&gt;(&lt;span class="bterm"&gt;number1&lt;/span&gt;,number2, ...)&lt;br /&gt;&lt;span class="runinhead"&gt;Number1, number2, ...&lt;/span&gt;&amp;nbsp;&amp;nbsp; are 1 to 255 arguments for which  you want the total value or sum.&lt;br /&gt;&lt;b class="bterm"&gt;Remarks&lt;/b&gt;&lt;br /&gt;&lt;ul type="disc"&gt;&lt;li&gt;Numbers, logical values, and text representations of numbers that you type  directly into the list of arguments are counted. So, "5" will become 5, TRUE will become 1 and False will become 0.&lt;/li&gt;&lt;li&gt;If an argument is an array or reference, only numbers in that array or  reference are counted. Empty cells, logical values, or text in the array or  reference are ignored.&lt;/li&gt;&lt;li&gt;Arguments that are error values or text that cannot be translated into  numbers cause errors. If there is any #NA, #VALUE etc. error is present in the reference range, it will return the same error ignoring every other thing present in the reference range.&amp;nbsp;(Source: MS Excel Help on SUM Function)&lt;/li&gt;&lt;/ul&gt;In our Sample dashboard, we are using SUM(OFFSET(B6,0,0,1,MATCH($B$3,$B$5:$M$5,0))), so it will return the cumulative sum of the sales of Wine up to the selected month in cell B3.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;4. Conditional Formatting&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Formula Used:&amp;nbsp;&lt;/b&gt;=IF(B$5&amp;lt;=$B$3,1,0)&lt;br /&gt;Note: The game of this conditional formatting lies in what is absolute reference and what is relative reference.&lt;br /&gt;&lt;b&gt;Applied on:&lt;/b&gt;&amp;nbsp;=$B$6:$M$11&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click here to &lt;a href="http://openexcel.googlecode.com/files/Dashboard_01%20%28Using%20OFFSET%20and%20SUM%20Function%29.xlsx"&gt;DOWNLOAD THE DASHBOARD&lt;/a&gt;. Happy Excel Dashboarding :)&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #6699dd; font-size: 1.3em; text-align: center;"&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;17 ways to OPTIMIZE VBA Code for FASTER Macros&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Shrink or Reduce the size of Excel Workbook without losing data&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-4536809940931912447?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_vjaLsFiTiI:SuFbspCj0ts:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_vjaLsFiTiI:SuFbspCj0ts:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_vjaLsFiTiI:SuFbspCj0ts:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_vjaLsFiTiI:SuFbspCj0ts:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=_vjaLsFiTiI:SuFbspCj0ts:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_vjaLsFiTiI:SuFbspCj0ts:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_vjaLsFiTiI:SuFbspCj0ts:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_vjaLsFiTiI:SuFbspCj0ts:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=_vjaLsFiTiI:SuFbspCj0ts:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/_vjaLsFiTiI" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T18:17:27.393+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">United States</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">39.90973623453719 -99.4921875</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">6.977474734537189 -159.2578125 72.84199773453719 -39.7265625</georss:box><feedburner:origLink>http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html</feedburner:origLink></item><item><title>ADD ERROR TRAP: Wrap your Formulas with IFERROR or ISERROR</title><link>http://feedproxy.google.com/~r/excelitems/~3/_Fr4dWBXuZw/wrap-iferror-iserror-formulas-add.html</link><category>VBA Macro</category><category>Formula</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Fri, 04 Mar 2011 19:19:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-663460341558950148</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;'To Err is Human' might not be the sole reason behind IFERROR and ISERROR formulas but enough to justify them. So, we all does make errors and so does our logics and programs. Sometimes, we intentionally do it and sometimes, we're left to do it with no other option.&amp;nbsp;So what?&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So, if you're human and an Excel user, you'll need these functions almost regularly depending on your excel versions. IFERROR is introduced with MS Excel 2007 and ISERROR was used in Excel 2003 and prior versions.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In this tutorial, you'll find some basic information on IFERROR and ISERROR and some quick VBA macros at the end to wrap all your excel formulas with IFERROR or ISERROR at one go.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;IFERROR of Excel 2007 is a drastic user-friendly and performance improvement over ISERROR of Excel 2003 though both have some difference between them.&lt;br /&gt;IFERROR is replacement of common use of ISERROR function in conjunction with IF function.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;IFERROR&lt;/b&gt;&lt;br /&gt;Syntax: IFERROR(arg1, arg2)&lt;br /&gt;Meaning 01: arg1 is a formula which may return an error or valid value and arg2 is the value the IFERROR function must return if arg1 returns an error.&lt;br /&gt;Meaning 02: If arg1 is error then return arg2 else arg1. See&amp;nbsp;IF(ISERROR(arg1),arg2,arg1) below.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ISERROR&lt;/b&gt;&lt;br /&gt;Syntax: ISERROR(arg1)&lt;br /&gt;Meaning: If arg1 is an error then return TRUE else FALSE.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;IF(ISERROR(arg1),arg2,arg1)&lt;/b&gt;&lt;br /&gt;Meaning: If arg1 is error then return arg2 else arg1.&lt;br /&gt;&lt;br /&gt;However,&amp;nbsp;IFERROR(arg1, arg2) is replacement of&amp;nbsp;IF(ISERROR(arg1),arg2,arg1) but ISERROR is inevitable due to:&lt;br /&gt;1. making MS Excel models compatible to Excel 2003 and Excel 2007.&lt;br /&gt;2. the requirement of&amp;nbsp;IF(ISERROR(arg1),arg2,arg3) instead of&amp;nbsp;IF(ISERROR(arg1),arg2,arg1)&lt;br /&gt;Please notice arg3 in the second reason.&lt;br /&gt;&lt;br /&gt;Now, how you'll wrap all the existing formulas with IFERROR or IF(ISERROR) formulas at one go? Simple, read the following VBA macros, understand them and then use them as per your requirements. Don't miss the caution at the end.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Excel 2007&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Wrap Selected Formulas&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;Add_IFERROR_Selection()&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;myCell &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Range&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;For Each&lt;/span&gt; myCell &lt;span class="Apple-style-span" style="color: blue;"&gt;In&lt;/span&gt; Selection.Cells&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;myCell.HasFormula &lt;span class="Apple-style-span" style="color: blue;"&gt;And Not &lt;/span&gt;myCell.HasArray &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;myCell.Formula = "=IFERROR(" &amp;amp; Right(myCell.Formula, Len(myCell.Formula) - 1) &amp;amp; ",&lt;span class="Apple-style-span" style="color: red;"&gt;0&lt;/span&gt;)"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Next&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Wrap all formulas in Activesheet&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;Add_IFERROR_Activesheet()&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;myCell &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Range&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Cells.SpecialCells(xlCellTypeFormulas, 23).Select&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;For Each&lt;/span&gt; myCell &lt;span class="Apple-style-span" style="color: blue;"&gt;In &lt;/span&gt;Selection.Cells&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;myCell.HasFormula &lt;span class="Apple-style-span" style="color: blue;"&gt;And Not&lt;/span&gt; myCell.HasArray &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;myCell.Formula = "=IFERROR(" &amp;amp; Right(myCell.Formula, Len(myCell.Formula) - 1) &amp;amp; ",&lt;span class="Apple-style-span" style="color: red;"&gt;0&lt;/span&gt;)"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Next&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;Excel 2003&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Wrap Selected Formulas&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub&lt;/span&gt; Add_IFISERROR_Selection()&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim&lt;/span&gt; myCell &lt;span class="Apple-style-span" style="color: blue;"&gt;As&lt;/span&gt; Range&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;cFrm &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;String&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Cells.SpecialCells(xlCellTypeFormulas, 23).Select&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;For Each&lt;/span&gt; myCell &lt;span class="Apple-style-span" style="color: blue;"&gt;In &lt;/span&gt;Selection.Cells&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;myCell.HasFormula &lt;span class="Apple-style-span" style="color: blue;"&gt;And Not&lt;/span&gt; myCell.HasArray &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cFrm = Right(myCell.Formula, Len(myCell.Formula) - 1)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;myCell.Formula = "=IF(ISERROR(" &amp;amp; cFrm &amp;amp; "),&lt;span class="Apple-style-span" style="color: red;"&gt;0&lt;/span&gt;," &amp;amp; cFrm &amp;amp; ")"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Next&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Wrap all formulas in Activesheet&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;Add_IFISERROR_Sheet()&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;myCell &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Range&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;cFrm &lt;span class="Apple-style-span" style="color: blue;"&gt;As&lt;/span&gt; String&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Cells.SpecialCells(xlCellTypeFormulas, 23).Select&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;For Each &lt;/span&gt;myCell &lt;span class="Apple-style-span" style="color: blue;"&gt;In &lt;/span&gt;Selection.Cells&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;myCell.HasFormula &lt;span class="Apple-style-span" style="color: blue;"&gt;And Not &lt;/span&gt;myCell.HasArray &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cFrm = Right(myCell.Formula, Len(myCell.Formula) - 1)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;myCell.Formula = "=IF(ISERROR(" &amp;amp; cFrm &amp;amp; "),&lt;span class="Apple-style-span" style="color: red;"&gt;0&lt;/span&gt;," &amp;amp; cFrm &amp;amp; ")"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;End If&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Next&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Caution:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;1. Change the red&amp;nbsp;highlighted&amp;nbsp;&lt;span class="Apple-style-span" style="color: red;"&gt;0 &lt;/span&gt;with the replacement you would like to have instead of 0.&lt;br /&gt;2. These macros do not check if existing formulas are wrapped with iferror or iserror.&lt;br /&gt;3. Make your selection wisely, you may not need to wrap all formulas with Error trap.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #6699dd; font-size: 1.3em; text-align: center;"&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;17 ways to OPTIMIZE VBA Code for FASTER Macros&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Shrink or Reduce the size of Excel Workbook without losing data&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-663460341558950148?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_Fr4dWBXuZw:9fulWf4CehQ:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_Fr4dWBXuZw:9fulWf4CehQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_Fr4dWBXuZw:9fulWf4CehQ:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_Fr4dWBXuZw:9fulWf4CehQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=_Fr4dWBXuZw:9fulWf4CehQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_Fr4dWBXuZw:9fulWf4CehQ:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_Fr4dWBXuZw:9fulWf4CehQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=_Fr4dWBXuZw:9fulWf4CehQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=_Fr4dWBXuZw:9fulWf4CehQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/_Fr4dWBXuZw" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T18:09:29.909+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Greater London, UK</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">51.50874245880332 -0.1318359375</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">51.29505995880332 -0.5987549375 51.722424958803316 0.3350830625</georss:box><feedburner:origLink>http://www.excelitems.com/2011/03/wrap-iferror-iserror-formulas-add.html</feedburner:origLink></item><item><title>How to Prevent Blank Cells from plotting in Excel Charts?</title><link>http://feedproxy.google.com/~r/excelitems/~3/jWG47dXEXbU/prevent-blank-cells-plot-chart.html</link><category>Tutorials</category><category>Charts</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Mon, 17 Jan 2011 06:43:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-6302632613288794311</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;How many times have you created a chart in Excel and seen something like  this?&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" height="195" src="http://2.bp.blogspot.com/_gV5Uxtigafo/TTRTyQ-vBoI/AAAAAAAADew/7dSiNa1zhRQ/s320/something-like-this.png" width="320" /&gt;&lt;/div&gt;That dip on the graph is because somewhere in your worksheet you have a blank  cell. As well as being annoying to you as the chart creator, it is also  misleading to anyone who tries to interpret what your chart is trying to tell  them!&lt;br /&gt;The obvious solution might have been to delete rows, or to put some values in  the blank cells to pad out the data.&lt;br /&gt;However this will end up being even worse... Either omit important  information, or visualize incorrect data that wasn't there to begin with.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;How can we create a chart that is accurate but takes into account those rogue  cells?&lt;br /&gt;&lt;h3&gt;Creating a Non-Continuous Line Graph&lt;/h3&gt;What we need is a chart like this one below...&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" height="193" src="http://2.bp.blogspot.com/_gV5Uxtigafo/TTRT52beISI/AAAAAAAADe0/6b4mzoE3FEw/s320/this-one-below.png" width="320" /&gt;&lt;/div&gt;&lt;br /&gt;Here are the instructions:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Make sure the graph type is &lt;i&gt;Line&lt;/i&gt; and not &lt;i&gt;Stacked Line&lt;/i&gt;  &lt;/li&gt;&lt;li&gt;Select the chart  &lt;/li&gt;&lt;li&gt;In the chart menu click on: Design -&amp;gt; Select Data&lt;/li&gt;&lt;li&gt;In the dialog that comes up, click the 'hidden and empty cells' button &lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" height="215" src="http://4.bp.blogspot.com/_gV5Uxtigafo/TTRUEPUYKQI/AAAAAAAADe4/w9SOoAo9794/s320/empty-cells-button.png" width="320" /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Then select 'gaps', and click OK. &lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_gV5Uxtigafo/TTRUKRpOTII/AAAAAAAADe8/5qHEx4Wh88I/s1600/select-gaps.png" /&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;There, isn't it easy once you see how it is done?&lt;br /&gt;&lt;hr /&gt;&lt;b&gt;About the author of this article&lt;/b&gt;&lt;br /&gt;Yoav Ezer co-authors the technology and productivity blog Codswallop. He is  also the CEO of a company that produces &lt;a href="http://www.cogniview.com/pdf2xl.php"&gt;PDF to Excel&lt;/a&gt; conversion  software.&lt;br /&gt;For more Excel tips from Yoav, join him on &lt;a href="http://www.facebook.com/Cogniview.Codswallop"&gt;Facebook&lt;/a&gt; or &lt;a href="http://twitter.com/cogniview"&gt;Twitter&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #6699dd; font-size: 1.3em; text-align: center;"&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;17 ways to OPTIMIZE VBA Code for FASTER Macros&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Shrink or Reduce the size of Excel Workbook without losing data&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-6302632613288794311?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=jWG47dXEXbU:U2DWPCeF1Vs:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=jWG47dXEXbU:U2DWPCeF1Vs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=jWG47dXEXbU:U2DWPCeF1Vs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=jWG47dXEXbU:U2DWPCeF1Vs:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=jWG47dXEXbU:U2DWPCeF1Vs:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=jWG47dXEXbU:U2DWPCeF1Vs:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=jWG47dXEXbU:U2DWPCeF1Vs:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=jWG47dXEXbU:U2DWPCeF1Vs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=jWG47dXEXbU:U2DWPCeF1Vs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/jWG47dXEXbU" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T18:02:09.581+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_gV5Uxtigafo/TTRTyQ-vBoI/AAAAAAAADew/7dSiNa1zhRQ/s72-c/something-like-this.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Australasia</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">-25.165173368663943 138.1640625</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">-62.55530386866394 78.3984375 12.224957131336055 -162.0703125</georss:box><feedburner:origLink>http://www.excelitems.com/2011/01/prevent-blank-cells-plot-chart.html</feedburner:origLink></item><item><title>How to send Lotus Notes e-mail using Excel VBA ?</title><link>http://feedproxy.google.com/~r/excelitems/~3/gmUejPUJ3m4/send-lotus-notes-email-vba-excel.html</link><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Mon, 17 Jan 2011 05:31:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-7221590702648338545</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;There are times when as VBA programmers/Analyst we require to send e-mails after our analysis or dashboard development. This is very trivial that when a dashboard is completed, it is required to send to our seniors or the required recipients. So, there are times, when we've set the VBA program to automate the dashboard development and then we need to send that dashboard by attaching it to mail manually. Did this ever happened that you developed the dashboard and forgot to send to the requested/desired persons? Oops !&lt;br /&gt;&lt;br /&gt;Now this article will help us in learning the automation of e-mailing the dashboard (or any file) using Lotus Notes and VBA. This is a referential program and we might need to change the appropriate variables in the program to make it run at our end.&lt;br /&gt;&lt;br /&gt;With the introduction of Lotus Notes and Domino Release 5.0.2b, we now have the ability to manipulate the Domino object model via COM. As a result, we can use VBA to take advantage of Lotus/Domino services and databases.&lt;br /&gt;&lt;br /&gt;To do so, however, we'll need Lotus Notes client version 5.02.b (or higher), Domino Designer client, or Domino Server. As with most Visual Basic object libraries, the programs need not be running to use them. Lotus has plans to make this runtime package distributable independent of its full software installation. Notice that before we can access any of the objects within the Notes Session, we must initialize a session first.&lt;br /&gt;&lt;br /&gt;Anyway, let's directly do the practical which involves two simple steps:&lt;br /&gt;&lt;hr /&gt;&lt;a name='more'&gt;&lt;/a&gt;1. Set a reference to "Lotus Notes Automation Classes". In the code window, go to Tool --&amp;gt; References --&amp;gt; Select 'Lotus Notes Automation Classes".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img border="0" height="259" src="http://4.bp.blogspot.com/_gV5Uxtigafo/TTRC7ycg_3I/AAAAAAAADes/aoMmzIL2mPw/s320/Tools_References_Lotus_Notes_Automation.PNG" width="320" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;2. Use the following Visual Basic code to send a Notes e-mail message. The code includes examples of code to include an attachment and to save the sent message, which are both optional and can be removed if desired. Don't forgot to replace the underlined phrases with your ones.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;Send_Email_via_Lotus_Notes()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;Maildb &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Object&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;MailDoc &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Object&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;Body &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Object&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;Session &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Object&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Start a session of Lotus Notes&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;Session = CreateObject("Lotus.NotesSession")&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'This line prompts for password of current ID noted in Notes.INI&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call &lt;/span&gt;Session.Initialize&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'or use below to provide password of the current ID (to avoid Password prompt)&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'Call Session.Initialize("&lt;u&gt;&amp;lt;password&amp;gt;&lt;/u&gt;")&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;'Open the Mail Database of your Lotus Notes&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;Maildb = Session.GETDATABASE("", "&lt;u&gt;D:\Notes\data\Mail\eXceLiTems.nsf&lt;/u&gt;")&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;If Not&lt;/span&gt; Maildb.IsOpen = &lt;span class="Apple-style-span" style="color: blue;"&gt;True Then&lt;/span&gt; Call Maildb.Open&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'Create the Mail Document&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;MailDoc = Maildb.CREATEDOCUMENT&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call &lt;/span&gt;MailDoc.REPLACEITEMVALUE("Form", "Memo")&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'Set the Recipient of the mail&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call &lt;/span&gt;MailDoc.REPLACEITEMVALUE("SendTo", "&lt;u&gt;Ashish Jain&lt;/u&gt;")&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Set subject of the mail&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call &lt;/span&gt;MailDoc.REPLACEITEMVALUE("Subject", "&lt;u&gt;Subject Text&lt;/u&gt;")&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Create and set the Body content of the mail&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;Body = MailDoc.CREATERICHTEXTITEM("Body")&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call &lt;/span&gt;Body.APPENDTEXT("&lt;u&gt;Body text here&lt;/u&gt;")&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'Example to create an attachment (optional)&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call &lt;/span&gt;Body.ADDNEWLINE(2)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call &lt;/span&gt;Body.EMBEDOBJECT(1454, "", "&lt;u&gt;C:\dummy.txt&lt;/u&gt;", "Attachment")&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'Example to save the message (optional) in Sent items&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MailDoc.SAVEMESSAGEONSEND = &lt;span class="Apple-style-span" style="color: blue;"&gt;True&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'Send the document&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;'Gets the mail to appear in the Sent items folder&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call &lt;/span&gt;MailDoc.REPLACEITEMVALUE("PostedDate", Now())&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Call&lt;/span&gt; MailDoc.SEND(&lt;span class="Apple-style-span" style="color: blue;"&gt;False&lt;/span&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Clean Up the Object variables - Recover memory&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;Maildb = &lt;span class="Apple-style-span" style="color: blue;"&gt;Nothing&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Set &lt;/span&gt;MailDoc = &lt;span class="Apple-style-span" style="color: blue;"&gt;Nothing&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Set&lt;/span&gt; Body = &lt;span class="Apple-style-span" style="color: blue;"&gt;Nothing&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Set&lt;/span&gt; Session = &lt;span class="Apple-style-span" style="color: blue;"&gt;Nothing&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #6699dd; font-size: 1.3em; text-align: center;"&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;17 ways to OPTIMIZE VBA Code for FASTER Macros&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;How to Shrink or Reduce the size of Excel Workbook without losing data?&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-7221590702648338545?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=gmUejPUJ3m4:ZtZi2xPq5ms:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=gmUejPUJ3m4:ZtZi2xPq5ms:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=gmUejPUJ3m4:ZtZi2xPq5ms:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=gmUejPUJ3m4:ZtZi2xPq5ms:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=gmUejPUJ3m4:ZtZi2xPq5ms:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=gmUejPUJ3m4:ZtZi2xPq5ms:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=gmUejPUJ3m4:ZtZi2xPq5ms:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=gmUejPUJ3m4:ZtZi2xPq5ms:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=gmUejPUJ3m4:ZtZi2xPq5ms:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/gmUejPUJ3m4" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T17:54:58.648+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_gV5Uxtigafo/TTRC7ycg_3I/AAAAAAAADes/aoMmzIL2mPw/s72-c/Tools_References_Lotus_Notes_Automation.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Bengaluru, Karnataka, India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">12.9715987 77.59456269999998</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">12.7518902 77.34282119999999 13.191307199999999 77.84630419999998</georss:box><feedburner:origLink>http://www.excelitems.com/2011/01/send-lotus-notes-email-vba-excel.html</feedburner:origLink></item><item><title>How to use OFFSET Function? (with Examples)</title><link>http://feedproxy.google.com/~r/excelitems/~3/9r_e0nNIy7s/use-offset-function-dynamic-range.html</link><category>OFFSET Function</category><category>Functions</category><category>Tutorials</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Fri, 07 Jan 2011 11:21:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-3356594287307948498</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The OFFSET function is a kind of lookup function in Excel that allows us to find a value in a table based on a particular reference point. This is different from Offset function used in VBA. In VBA, we can only refer a single cell from another cell but when used as Excel formula, it becomes one of the most important to learn. It is used in conjunction with named ranges, charts(to make them dynamic), Sum formula, SUMIF formula, Pivot Tables (to make source range dynamic), VLookup Formula, Array formulas etc.&lt;br /&gt;&lt;br /&gt;My next 4-5 posts will concentrate on full use of OFFSET function and I promise you to make expert in all tricks related to OFFSET Function.&lt;br /&gt;&lt;br /&gt;You tell the OFFSET function how far to move from the initial reference point (in terms of columns and rows) in order to find the required value. OFFSET function depending on the inputs may return a single cell or a bunch of cells (Range array). We talked a lot about OFFSET function, now let's have a look on it. i.e. How it works? What are its input and output options? etc etc.&lt;br /&gt;&lt;br /&gt;Syntax of the OFFSET Function: &lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;OFFSET(initial reference, # of rows(to move), # of cols(to move), height, width)&lt;/b&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;*&lt;u&gt;&lt;b&gt; initial reference &lt;/b&gt;&lt;/u&gt;– The cell or group of cells that you would like to use as the initial reference for the OFFSET function. However, you can choose any reference cell you like but generally corner cells are taken in real world examples.&lt;br /&gt;&lt;br /&gt;*&lt;u&gt;&lt;b&gt; # of rows&lt;/b&gt;&lt;/u&gt; – This is a numeric value(strictly integer) that represents the number of rows you want to move to find your OFFSET function value. If you are moving down one or more rows, this value should be positive. If moving up, then the value will be negative.&lt;br /&gt;&lt;br /&gt;*&lt;u&gt;&lt;b&gt; # of cols &lt;/b&gt;&lt;/u&gt;– Exactly, like the rows argument, this is a numeric value that represents the number of columns you want to move to find the function result. If moving to the right, this value should be positive. Negative values represent moving to the left.&lt;br /&gt;&lt;br /&gt;* &lt;u&gt;&lt;b&gt;height(optional) &lt;/b&gt;&lt;/u&gt;– This value is optional and denotes the number of rows you want included in the OFFSET function result. 1 by default, if skipped.&lt;br /&gt;&lt;br /&gt;* &lt;u&gt;&lt;b&gt;width(optional)&lt;/b&gt;&lt;/u&gt; – This value is optional as well and denotes the number of columns you want to include in the OFFSET function result. 1 by default, if skipped.&lt;br /&gt;&lt;br /&gt;If any one of the height and width is more than 1, then Offset function must be used in conjunction with named range (to make source data of charts, pivots etc. dynamic) or array formulas because then it will not return a single cell but a bunch of cells.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;Some Basic Examples you can use:-&lt;br /&gt;&lt;u&gt;&lt;b&gt;Type - I:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Initial Reference (Single Cell)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return Value (Single Cell)&lt;br /&gt;1. &lt;b&gt;OFFSET(E5,1,3)&lt;/b&gt;&amp;nbsp;&amp;nbsp; - It says go one row down(Row 6) and 3 column right(Column H).&lt;br /&gt;2. &lt;b&gt;OFFSET(E5,1,-3)&lt;/b&gt;&amp;nbsp; - It says go one row down(Row 6) and 3 column left(Column B).&lt;br /&gt;3. &lt;b&gt;OFFSET(E5,-1,3)&lt;/b&gt;&amp;nbsp; - It says go one row up(Row 4) and 3 column right(Column H).&lt;br /&gt;4. &lt;b&gt;OFFSET(E5,-1,-3)&lt;/b&gt; - It says go one row up(Row 4) and 3 column left(Column B).&lt;br /&gt;It will return Error #REF!, if you try to use it like this:-&lt;br /&gt;5. &lt;b&gt;OFFSET(E5,&lt;span style="color: red;"&gt;-5&lt;/span&gt;,3)&lt;/b&gt;&amp;nbsp;&amp;nbsp; - It says go five row up (&lt;span style="color: red;"&gt;Row 0, which don't exists&lt;/span&gt;) and 3 column right(Column H).&lt;br /&gt;6. &lt;b&gt;OFFSET(E5,1,&lt;span style="color: red;"&gt;-5&lt;/span&gt;)&lt;/b&gt;&amp;nbsp;&amp;nbsp; - It says go one row down (Row 6) and 5 column left(&lt;span style="color: red;"&gt;before Column A, which don't exist&lt;/span&gt;). &lt;br /&gt;So, keep this in mind when using the offset function, we can  use it in your logic or take care of not using it.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Type - II:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Initial Reference (Multiple Cells)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return Value (Single Cell)&lt;br /&gt;7. &lt;b&gt;OFFSET(E5:E15,-1,3)&lt;/b&gt;&amp;nbsp;&amp;nbsp; - It says go one row up (Row 4 to Row14) and 3 column right (Column H). It says H4 to H14 but as single cells needs to be return - It will return value of H4. As mentioned before, if height and width omitted, they're taken as 1. So it's equivalent to &lt;b&gt;OFFSET(E5:E15,-1,3,1,1)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Type - III:&lt;/b&gt;&lt;/u&gt;&lt;b&gt; (&lt;/b&gt;&lt;b&gt;Using Offset as Array Formulas / Using Offset for Dynamic ranges by Named Range)&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Initial Reference (Multiple Cells)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return Value (Multiple Cells)&lt;br /&gt;Whenever a formula return multiple cells, it becomes mandatory to use array formulas else the formula will return #Value! error. The example given here cannot be used in excel worksheet without array. These examples set base for our coming posts on using OFFSET in conjunction arrays and named ranges. Excel users must understand here what offset function returns with respective inputs rather than trying them in worksheet unlike before.&lt;br /&gt;&amp;nbsp;8. &lt;b&gt;OFFSET(E5:E15,0,2,11,1)&lt;/b&gt;&amp;nbsp; will return G5:G15 as it says go nowhere row wise and 2 column right (Column G) then take 11 rows starting G5 and 1 column which means G5:G15&lt;b&gt;.&lt;/b&gt;&lt;br /&gt;9. &lt;b&gt;OFFSET(E5:E15,0,-2,11,1)&lt;/b&gt;&amp;nbsp; will return C5:C15 as it says go nowhere row wise and 2 column left (Column C) then take 11 rows starting C5 and 1 column which means C5:C1&lt;b&gt;5.&lt;/b&gt;&lt;br /&gt;10. &lt;b&gt;OFFSET(E5:E15,-2,-2,11,1)&lt;/b&gt;&amp;nbsp; will return C3:C13 as it says go 2 rows up and 2 column left (Column C) then take 11 rows starting C3 and 1 column which means C3:C13&lt;b&gt;.&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;11. &lt;b&gt;OFFSET(E5:E15,-2,-2,5,1)&lt;/b&gt;&amp;nbsp; will return C3:C7 as it says go 2 rows up and 2 column left (Column C) then take 5 rows starting C3 and 1 column which means C3:C7&lt;b&gt;.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;12. &lt;b&gt;OFFSET(E5:E15,2,3,4,5)&lt;/b&gt;&amp;nbsp; will return H7:L10 as it says go 2 rows down(7) and 3 columns right (Column H) then take 4 rows and 5 columns starting H7 which means H7:L10&lt;b&gt;.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;Now we'll see same examples, if height and width skipped for them.&lt;br /&gt;13. &lt;b&gt;OFFSET(E5:G15,0,5)&lt;/b&gt;&amp;nbsp; will return J5:L15 as it says go nowhere row-wise and 5 columns right (i.e.Column J to Column L) which means J5 to L15&lt;b&gt;.&lt;/b&gt; As height and width skipped, they will be calculated from initial reference which says 11 rows as height and 5 columns as width.&lt;br /&gt;14. &lt;b&gt;OFFSET(E5:G15,-2,-2)&lt;/b&gt;&amp;nbsp; will return C3:E13 as it says go 2 rows up(So instead of 5 to 15, it will be 3 to 13) and 2 column left (i.e.Column C to Column E) which means C3:E13&lt;b&gt;.&lt;/b&gt; As height and width skipped, they will be calculated from initial reference which says 11 rows as height and 3 columns as width.&lt;br /&gt;So, in case of initial reference with multiple cells, height and width (if skipped) don't necessarily be 1, by default.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Type - IV:&lt;/b&gt;&lt;/u&gt; (&lt;b&gt;Using Offset for Dynamic ranges by Named Range / Using Offset as Array Formulas&lt;/b&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Initial Reference (Single Cell)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return Value (Multiple Cells)&lt;br /&gt;It works same as Type III and no explanation required here except the fact that it becomes mandatory here to give either height or width or both in order to return multiple cells.&lt;br /&gt;15. &lt;b&gt;OFFSET(E5,0,2,11,1)&lt;/b&gt;&amp;nbsp; will return G5:G15 as it says go nowhere row wise and 2 column right (Column G) then take 11 rows starting G5 and 1 column which means G5:G15&lt;br /&gt;16. &lt;b&gt;OFFSET(E5,0,-2,11,1)&lt;/b&gt; will return C5:C15 as it says go nowhere row wise and 2 column left (Column C) then take 11 rows starting C5 and 1 column which means C5:C15.&lt;br /&gt;17. &lt;b&gt;OFFSET(E5,-2,-2,11,1)&lt;/b&gt; will return C3:C13 as it says go 2 rows up and 2 column left (Column C) then take 11 rows starting C3 and 1 column which means C3:C13.&lt;br /&gt;18. &lt;b&gt;OFFSET(E5,-2,-2,5,1)&lt;/b&gt; will return C3:C7 as it says go 2 rows up and 2 column left (Column C) then take 5 rows starting C3 and 1 column which means C3:C7.&lt;br /&gt;19. &lt;b&gt;OFFSET(E5,2,3,4,5)&lt;/b&gt; will return H7:L10 as it says go 2 rows down(7) and 3 columns right (Column H) then take 4 rows and 5 columns starting H7 which means H7:L10.&lt;br /&gt;&lt;br /&gt;With these examples, I finish this post here. Stay tuned to eXceLiTems as we'll move to create dynamic charts and pivots with the help of OFFSET Function in coming posts. We'll use it in array, sum function, subtotal function and much more ....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #6699dd; font-size: 1.3em; text-align: center;"&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;17 ways to OPTIMIZE VBA Code for FASTER Macros&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Shrink or Reduce the size of Excel Workbook without losing data&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-3356594287307948498?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=9r_e0nNIy7s:p_ILnvVjjEE:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=9r_e0nNIy7s:p_ILnvVjjEE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=9r_e0nNIy7s:p_ILnvVjjEE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=9r_e0nNIy7s:p_ILnvVjjEE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=9r_e0nNIy7s:p_ILnvVjjEE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=9r_e0nNIy7s:p_ILnvVjjEE:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=9r_e0nNIy7s:p_ILnvVjjEE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=9r_e0nNIy7s:p_ILnvVjjEE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=9r_e0nNIy7s:p_ILnvVjjEE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/9r_e0nNIy7s" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T18:13:57.228+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">United States</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">43.08172861640598 -103.359375</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">11.411839616405981 -163.125 74.75161761640598 -43.59375</georss:box><feedburner:origLink>http://www.excelitems.com/2011/01/use-offset-function-dynamic-range.html</feedburner:origLink></item><item><title>Using Custom Format for Numbers, Dates and Text</title><link>http://feedproxy.google.com/~r/excelitems/~3/AIbD38yHjDI/custom-cell-formatting-number-date-text.html</link><category>Tutorials</category><category>Formatting</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Tue, 04 Jan 2011 11:30:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-6922153085125951963</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;What is 'Custom Format' ?:&lt;/b&gt; Microsoft Office Excel provides many built-in number formats, but in some cases they do not meet our needs, we can customize a built-in number format to create our own.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Why 'Custom Format' and not 'Conditional Formatting'?:&lt;/b&gt; because to cure 'Common Cold' we go to doctors not surgeons. Exactly, when there is a simple and robust way then why to go otherwise. There are many benefits of using custom format including these:&lt;br /&gt;1. Less overhead than Conditional Formatting.&lt;br /&gt;2. Values can be used easily in formulas (Less manipulation required).&lt;br /&gt;3. Charts looks better with custom colored labels/axis.&lt;br /&gt;4. Works on all versions of Excel.&lt;br /&gt;and many more which you can figure out using your innovative mind after reading this article.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to apply 'Custom Format'?&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Step 1:&lt;/i&gt; Open 'Format Cells' dialog box using any of your favorite options:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;i)&amp;nbsp;&amp;nbsp;&amp;nbsp;Ctrl + 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ii)&amp;nbsp;&amp;nbsp;Right Click --&amp;gt; 'Format Cells'&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;iii)&amp;nbsp;Home --&amp;gt; Numbers (Bottom right arrow) - See the pic&lt;br /&gt;&lt;img border="0" height="211" src="http://4.bp.blogspot.com/_gV5Uxtigafo/TSNwKRVJq4I/AAAAAAAADeY/rtmj4c6raFA/s400/Numbers_Dialog_Box.PNG" width="400" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Step 2:&lt;/i&gt; Now click on 'Custom' and start typing your 'Custom Format' code.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/_gV5Uxtigafo/TSNwoSc7jqI/AAAAAAAADeg/qPQfS3RGGP4/s400/Format_Cells.PNG" width="398" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;'Custom Format' coding:&lt;/b&gt; A number format can be divided in 4 parts by semicolons. Each part is an individual number format. The first applies to positive numbers, second to negative numbers, third to zeros, and the fourth to text (This is by default or we can define this too).&lt;br /&gt;So we can represent the custom format like this.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;b&gt;Positive Numbers ; Negative Numbers ; Zeroes ; Text&lt;/b&gt;&lt;/center&gt;Of course we can skip whatever we want to as per the requirements and use it like any of this:&lt;br /&gt;Positive Numbers;;Zeroes;Text&lt;br /&gt;Positive Numbers;Negative Numbers;;Text&lt;br /&gt;Positive Numbers;Negative Numbers;Zeroes&lt;br /&gt;etc etc.&lt;br /&gt;Even we don't have to include all semicolons. If we specify only 2 code sections for our custom number format, the first section is used for +ve numbers and zeros, and the second section is used for -ve numbers. If we specify only one code section then it is used for all numbers.&lt;br /&gt;Whenever we skip custom format for a particular type, General format is assumed for the same. This technique comes very handy when we want to hide the values with no data in charts. We can use &amp;lt;any format&amp;gt;;;; to achieve this. For e.g.&lt;br /&gt;General;;;&lt;br /&gt;0%;;;&lt;br /&gt;#.##;;; etc. etc.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Examples:&lt;/b&gt;&lt;br /&gt;Let's move with some examples of various data. Essentially, examples makes this subject simple.&lt;br /&gt;&lt;b&gt;I - BASIC EXAMPLES&lt;/b&gt;&lt;br /&gt;&lt;table border="1" bordercolor="#AAAACC" cellpadding="3" cellspacing="1" style="background-color: #efefff; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;   &lt;td&gt;&lt;b&gt; COMMENTS &lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;TO DISPLAY&lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;    AS    &lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt; USE THIS &lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Leading Zeros&lt;/td&gt;   &lt;td&gt;26&lt;/td&gt;   &lt;td&gt;0026&lt;/td&gt;   &lt;td&gt;0000&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Phone Number&lt;/td&gt;   &lt;td&gt;9999404843&lt;/td&gt;   &lt;td&gt;999-940-4843&lt;/td&gt;   &lt;td&gt;000-000-0000&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Day of the Date&lt;/td&gt;   &lt;td&gt;26/05/1984&lt;/td&gt;   &lt;td&gt;Saturday&lt;/td&gt;   &lt;td&gt;dddd&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Month of the Date&lt;/td&gt;   &lt;td&gt;26/05/1984&lt;/td&gt;   &lt;td&gt;May&lt;/td&gt;   &lt;td&gt;mmmm&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Comma Place holder &lt;/td&gt;   &lt;td&gt;23456789&lt;/td&gt;   &lt;td&gt;23,456,789&lt;/td&gt;   &lt;td&gt;#, ###&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Currency&lt;/td&gt;   &lt;td&gt;2605.5&lt;/td&gt;   &lt;td&gt;€ 2,605.50&lt;/td&gt;   &lt;td&gt;€ #,###.00&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;b&gt;II - INTERMEDIATE EXAMPLES&lt;/b&gt;&lt;br /&gt;&lt;table border="1" bordercolor="#AAAACC" cellpadding="3" cellspacing="1" style="background-color: #ffefff; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;   &lt;td&gt;&lt;b&gt; COMMENTS &lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;TO DISPLAY&lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;    AS    &lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt; USE THIS &lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Decimal&lt;/td&gt;   &lt;td&gt;2.1&lt;/td&gt;   &lt;td&gt;02.10&lt;/td&gt;   &lt;td&gt;00.00&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Positive (Green)&lt;/td&gt;   &lt;td&gt;2605&lt;/td&gt;   &lt;td style="color: #119911;"&gt;2,605&lt;/td&gt;   &lt;td rowspan="2"&gt;[Green]$#,##0;[Red]$#,##0&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Negative (Red)&lt;/td&gt;   &lt;td&gt;-1984&lt;/td&gt;   &lt;td style="color: red;"&gt;-1,984&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Trailing Dots&lt;/td&gt;   &lt;td&gt;eXceLitems&lt;/td&gt;   &lt;td&gt;eXceLiTems..........&lt;/td&gt;   &lt;td&gt;@*.&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td rowspan="3"&gt;Scientific Notation&lt;/td&gt;   &lt;td rowspan="3"&gt;123450&lt;/td&gt;   &lt;td&gt;12.345E+04&lt;/td&gt;   &lt;td&gt;##.000E+00&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;123.450E+03&lt;/td&gt;   &lt;td&gt;###.000E+00&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;1.235E+05&lt;/td&gt;   &lt;td&gt;0.000E+00&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Round Off to 1000th&lt;/td&gt;   &lt;td&gt;26051984&lt;/td&gt;   &lt;td&gt;26052&lt;/td&gt;   &lt;td&gt;#,&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td rowspan="3"&gt;Align Decimals&lt;/td&gt;   &lt;td style="align: right;"&gt;26.051&lt;/td&gt;   &lt;td&gt;&amp;nbsp;&amp;nbsp;26.051&lt;/td&gt;   &lt;td rowspan="3"&gt;???.???&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="align: right;"&gt;512.65&lt;/td&gt;   &lt;td&gt;512.65&amp;nbsp;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="align: right;"&gt;3.6&lt;/td&gt;   &lt;td&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.6&amp;nbsp;&amp;nbsp;&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;III - ADVANCED EXAMPLES&lt;/b&gt;&lt;br /&gt;&lt;table border="1" bordercolor="#AAAACC" cellpadding="3" cellspacing="1" style="background-color: #ffffef; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;   &lt;td&gt;&lt;b&gt; COMMENTS &lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;TO DISPLAY&lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;    AS    &lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt; USE THIS &lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Prefix Text&lt;/td&gt;   &lt;td&gt;12&lt;/td&gt;   &lt;td&gt;EMP0012&lt;/td&gt;   &lt;td&gt;"EMP" 0000&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Suffix Text&lt;/td&gt;   &lt;td&gt;125&lt;/td&gt;   &lt;td&gt;1,250 lbs.&lt;/td&gt;   &lt;td&gt;#,##0 "lbs."&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Textual Currency&lt;/td&gt;   &lt;td&gt;$5.75&lt;/td&gt;   &lt;td&gt;5 dollars and .75 cents&lt;/td&gt;   &lt;td&gt;0 "dollars and" .#0" cents"&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Positive (Green)&lt;/td&gt;   &lt;td&gt;512&lt;/td&gt;   &lt;td style="color: #00aa00;"&gt;512.00&lt;/td&gt;   &lt;td rowspan="3"&gt;[Green]#,##0.00; [Red](#,##0.00);[Blue]"Zero"&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;0 as Zero (Blue)&lt;/td&gt;   &lt;td&gt;0&lt;/td&gt;   &lt;td style="color: #0000dd;"&gt;Zero&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Negative (Red)&lt;/td&gt;   &lt;td&gt;-652&lt;/td&gt;   &lt;td style="color: red;"&gt;(652)&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td rowspan="3"&gt;Varying Decimal Digits&lt;/td&gt;   &lt;td&gt;.023&lt;/td&gt;   &lt;td style="color: red;"&gt;.023&lt;/td&gt;   &lt;td rowspan="3"&gt;[RED][&amp;lt;0.1]0.000; [Blue][&amp;lt;1]0.00;[Green]0.0,&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;      &lt;td&gt;.23&lt;/td&gt;   &lt;td style="color: #2200dd;"&gt;.23&lt;/td&gt;     &lt;/tr&gt;&lt;tr&gt;      &lt;td&gt;2.3&lt;/td&gt;   &lt;td style="color: #119911;"&gt;2.3&lt;/td&gt;     &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Elapsed Time &lt;br /&gt;(Hours &amp;amp; Minutes)&lt;/td&gt;   &lt;td rowspan="3"&gt;Formula with Time difference&lt;/td&gt;   &lt;td&gt;1:02&lt;/td&gt;   &lt;td&gt;[h]:mm&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Elapsed Time &lt;br /&gt;(Mins. &amp;amp; Secs.)&lt;/td&gt;    &lt;td&gt;62:05&lt;/td&gt;   &lt;td&gt;[mm]:ss&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Elapsed Time &lt;br /&gt;(Secs.&amp;amp;Hundredths)&lt;/td&gt;    &lt;td&gt;3725.62&lt;/td&gt;   &lt;td&gt;[ss].00&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Calculate Kilo(10&lt;sup&gt;3&lt;/sup&gt;)&lt;/td&gt;   &lt;td&gt;100000&lt;/td&gt;   &lt;td&gt;100K&lt;/td&gt;   &lt;td&gt;[&amp;gt;=1000]0,"K"&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Calculate Mega(10&lt;sup&gt;6&lt;/sup&gt;)&lt;/td&gt;   &lt;td&gt;5000000000&lt;/td&gt;   &lt;td&gt;5000K&lt;/td&gt;   &lt;td&gt;[&amp;gt;=1000000]0,,"M";[&amp;gt;=1000]0,"K";0&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td rowspan="3"&gt;Align Fractions&lt;/td&gt;   &lt;td&gt;6.25&lt;/td&gt;   &lt;td&gt;6 1/4&lt;/td&gt;   &lt;td rowspan="3"&gt;# ???/???&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;      &lt;td&gt;5.43&lt;/td&gt;   &lt;td&gt;5 43/100&lt;/td&gt;     &lt;/tr&gt;&lt;tr&gt;      &lt;td&gt;7.75&lt;/td&gt;   &lt;td&gt;7 3/4&lt;/td&gt;     &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;hr /&gt;By now either you have completely understood the Number/Date/Text Formatting using CUSTOM Format or not. In any case I'm sure that you'll be looking for more detailed information. So we will now move on to theory of 'Custom' format.&lt;br /&gt;&lt;br /&gt;Before that, I've some exercise questions for you - if you can do them you are genius dude. Try on your own and devote sometime before you google them. This will also help you learn limited theory (which you actually need rather than whole post).&lt;br /&gt;&lt;br /&gt;&lt;table border="1" bordercolor="#FFCC00" cellpadding="1" cellspacing="1" style="background-color: #ffffcc;"&gt;&lt;tbody&gt;&lt;tr&gt;   &lt;td&gt;&lt;b&gt; COMMENTS &lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;TO DISPLAY&lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;    AS    &lt;/b&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt; USE WHAT &lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Negative Number&lt;/td&gt;   &lt;td&gt;-123000&lt;/td&gt;   &lt;td&gt;(123K)&lt;/td&gt;   &lt;td rowspan="5" style="text-align: center;"&gt;?&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Date&lt;/td&gt;   &lt;td&gt;26/05/1984&lt;/td&gt;   &lt;td&gt;Sat, May '84&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Currency&lt;/td&gt;   &lt;td&gt;6.56&lt;/td&gt;   &lt;td&gt;£7&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Labels&lt;/td&gt;   &lt;td&gt;25&lt;/td&gt;   &lt;td&gt;25 feet&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Round off to 1000000th&lt;/td&gt;   &lt;td&gt;987654321&lt;/td&gt;   &lt;td&gt;988&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;I'm waiting for your responses in comments ;)&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;So here is some theory for you:&lt;br /&gt;&lt;table border="1" bordercolor="#336699" cellpadding="1" cellspacing="1" style="background-color: #dceeff;"&gt;&lt;tbody&gt;&lt;tr&gt;   &lt;td style="text-align: center;" width="20%"&gt;&lt;b&gt;Character&lt;/b&gt;&lt;/td&gt;   &lt;td style="text-align: center;" width="70%"&gt;&lt;b&gt;Used as/for&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;0 (Zero)&lt;/td&gt;   &lt;td&gt;This digit placeholder displays insignificant zeros if a number has fewer digits than there are zeros in the format. For example, if you type 2.6, and you want it to be displayed as 2.60, use the format #.00&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;# (Hash)&lt;/td&gt;   &lt;td&gt;This digit placeholder follows the same rules as the 0 (zero). However, Excel does not display extra zeros when the number that you type has fewer digits on either side of the decimal than there are # symbols in the format. For example, if the custom format is #.##, and you type 8.3 in the cell, the number 8.3 is displayed and 2.657 is displayed as 2.66&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;? (Ques. Mark)&lt;/td&gt;   &lt;td&gt;This digit placeholder follows the same rules as the 0 (zero). However, Excel adds a space for insignificant zeros on either side of the decimal point so that decimal points are aligned in the column. For example, see above(Last Intermediate Example)&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;. (dot/period)&lt;/td&gt;   &lt;td&gt;This digit placeholder displays the decimal point in a number.&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Color Codes&lt;/td&gt;   &lt;td&gt;These are the only approved colour codes. [BLACK] or  [Green]  or  [White]  or  [Blue]  or  [Magenta]  or  [Yellow]  or [Cyan]  or  [Red]&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;Specify Conditions&lt;/td&gt;   &lt;td&gt;To specify number formats that will be applied only if a number meets a condition that you specify, enclose the condition in square brackets. The condition consists of a comparison operator and a value. For example, see 2nd intermediate or 5th, 6th, 10th and 11th advanced examples.&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td&gt;E (E+/E-)&lt;/td&gt;   &lt;td&gt;Exponential Notation/Scientific Notation: Displays a number in scientific (exponential) format. Excel displays a number to the right of the "E" or "e" that corresponds to the number of places that the decimal point was moved. For example see 5th Intermediate example.&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #6699dd; font-size: 1.3em; text-align: center;"&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;17 ways to OPTIMIZE VBA Code for FASTER Macros&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Shrink or Reduce the size of Excel Workbook without losing data&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-6922153085125951963?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=AIbD38yHjDI:PTCwAIdnnN0:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=AIbD38yHjDI:PTCwAIdnnN0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=AIbD38yHjDI:PTCwAIdnnN0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=AIbD38yHjDI:PTCwAIdnnN0:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=AIbD38yHjDI:PTCwAIdnnN0:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=AIbD38yHjDI:PTCwAIdnnN0:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=AIbD38yHjDI:PTCwAIdnnN0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=AIbD38yHjDI:PTCwAIdnnN0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=AIbD38yHjDI:PTCwAIdnnN0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/AIbD38yHjDI" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T18:03:32.896+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_gV5Uxtigafo/TSNwKRVJq4I/AAAAAAAADeY/rtmj4c6raFA/s72-c/Numbers_Dialog_Box.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">South America</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">-34.29262169070461 -63.28125</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">-69.18939219070461 -123.046875 0.6041488092953955 -3.515625</georss:box><feedburner:origLink>http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html</feedburner:origLink></item><item><title>17 ways to Optimize VBA Code for FASTER Macros</title><link>http://feedproxy.google.com/~r/excelitems/~3/g0MiROASujA/optimize-vba-code-for-faster-macros.html</link><category>Tutorials</category><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Fri, 24 Dec 2010 10:37:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-3827229858269391662</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;On the eve before Christmas, I'm writing this article on VBA code optimization for my blog readers as a gift. It contains both the knowledge and good practices which if followed and used effectively then it might put you in elite category of excellent VBA programmers. VBA programs are known to save a lot of time and now this post is to save further time. Read them carefully and open new pathways of innovation in creating excel dashboards, reports and automation. Wish my readers a very MerRy ChRisTMaS !&lt;br /&gt;&lt;br /&gt;Here is a summary of the article:&lt;br /&gt;1.  Analyze the Logic&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.  Turn off ScreenUpdating&lt;br /&gt;3.  Turn off 'Automatic Calculations'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4.  Disable Events&lt;br /&gt;5.  Hide Page breaks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;6.  Use 'WITH' statement&lt;br /&gt;7.  Use vbNullString instead of ""&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8.  Release memory of Object variables&lt;br /&gt;9.  Reduce the number of lines using colon(:)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10. Prefer constants&lt;br /&gt;11. Avoid Unnecessary Copy and Paste&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;12. Clear the Clipboard after Paste&lt;br /&gt;13. Avoid 'Macro Recorder' style code.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;14. Use 'For Each' than 'Indexed For'&lt;br /&gt;15. Use 'Early Binding' rather 'Late Binding'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;16. Avoid using Variant&lt;br /&gt;17. Use Worksheet Functions wherever applicable&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;Do read full article to understand the logic behind them.&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Analyze the logic: &lt;/b&gt;Before optimizing the syntax, pay more attention in optimizing the logic. Without a good logic, a good written VBA macro program has no value. So streamline your program logic and get the best performance of macros.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Avoid 'Screen Flickering' or 'Screen Repainting':&lt;/b&gt; Use &lt;br /&gt;Application.ScreenUpdating = &lt;span style="color: blue;"&gt;False&lt;/span&gt;&lt;span style="color: #38761d;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;'To Turn Off at the start of code.&lt;/span&gt;&lt;br /&gt;Application.ScreenUpdating = &lt;span style="color: blue;"&gt;False &lt;/span&gt;&lt;span style="color: #38761d;"&gt;'To Turn on at the end of the code.&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;The ScreenUpdating property controls most display changes on the monitor while a procedure is running. When screen updating is turned off, toolbars remain visible and Word still allows the procedure to display or retrieve information using status bar prompts, input boxes, dialog boxes, and message boxes. You can increase the speed of some procedures by keeping screen updating turned off. You must set the ScreenUpdating property to True when the procedure finishes or when it stops after an error. &lt;a href="http://msdn.microsoft.com/en-us/library/aa173689%28v=office.11%29.aspx"&gt;Refer MSDN for details.&lt;/a&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Turn off automatic calculations:&lt;/b&gt; Whenever content(s) of a cell or range of cells are changed, the formulas dependent on them and Volatile functions are recalculated. You may turn off the automatic calculation using &lt;br /&gt;Application.Calculation = xlCalculationManual &lt;span style="color: #38761d;"&gt;'To turn off the automatic calculation&lt;/span&gt;&lt;br /&gt;Application.Calculation = xlCalculationAutomatic &lt;span style="color: #38761d;"&gt;'To turn On the automatic calculation&lt;/span&gt;&lt;br /&gt;Now, whenever due to the program logic(that due to macros dependent on existing formulas) you need to calculate the formulas, you may use the following code accordingly.&lt;br /&gt;ActiveSheet.Calculate &lt;span style="color: #38761d;"&gt;' To calculate the formulas of Active Worksheet&lt;/span&gt;&lt;br /&gt;Application.Calculate &lt;span style="color: #38761d;"&gt;' To calculate the formulas of Active workbook or all workbooks in current application.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Stop Events:&lt;/b&gt; Use Application.EnableEvents to tell VBA processor whether to fire events or not. We rarely fire an event for each cell we're changing via code. Hence, turning off events will speed up our VBA code performance.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Hide Page Breaks:&lt;/b&gt;When we run a Microsoft VBA macro in a later version of Microsoft Excel, the macro may take longer to complete than it does in earlier versions of Excel. For example, a macro that required several seconds to complete in an earlier version of Excel may require several minutes to complete in a later version of Excel. This problem may occur if the following conditions are true:&lt;br /&gt;&lt;blockquote&gt;* The VBA macro modifies the properties of many rows or columns.&lt;br /&gt;* An operation has been performed that forced Excel to calculate page breaks. Excel calculates page breaks when we perform any of the following operations:&lt;br /&gt;&lt;blockquote&gt;o We display a print preview of your worksheet.&lt;br /&gt;o In Microsoft Office Excel 2003 and in earlier versions of Excel, we click Page Setup on the File menu.&lt;br /&gt;o We modify any of the properties of the PageSetup object in a VBA macro.&lt;/blockquote&gt;* In Excel 2003 and in earlier versions of Excel, we selected the Page breaks check box on the View tab of the Options dialog box.&lt;/blockquote&gt;Solution: is to disable Page breaks using ActiveSheet.DisplayPageBreaks = &lt;span style="color: blue;"&gt;False&lt;/span&gt;&lt;br /&gt;Refer to this Microsoft article for more details - http://support.microsoft.com/kb/199505&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Use 'WITH' statement when working with objects:&lt;/b&gt; If we have to access an object's properties and methods in several lines, we must avoid using object's name or fully qualified object path again and again. It is annoying for VBA processor as it needs to fully qualify the object each time. (Isn't it annoying for us too when some work or something is told us again and again? Got it Guys !&lt;br /&gt;&lt;table border="1px"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;SLOW MACRO&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;center&gt;&lt;b&gt;FAST MACRO&lt;/b&gt;&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr width="100%"&gt;&lt;td width="60%"&gt;&lt;br /&gt;Sheets(1).Range("A1:E1").Font.Italic = &lt;span style="color: blue;"&gt;True&lt;/span&gt;&lt;br /&gt;Sheets(1).Range("A1:E1").Font.Interior.Color = vbRed&lt;br /&gt;Sheets(1).Range("A1:E1").MergeCells = &lt;span style="color: blue;"&gt;True&lt;/span&gt;&lt;/td&gt;&lt;td width="40%"&gt;&lt;span style="color: blue;"&gt;With&lt;/span&gt; Sheets(1).Range("A1:E1")&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Font.Italic = &lt;span style="color: blue;"&gt;True&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Font.Interior.Color = vbRed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.MergeCells =&lt;span style="color: blue;"&gt; True&lt;/span&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;End With&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;The point here to understand is minimum qualifying of an object by VBA processor. i.e. using minimum dots/periods(.) in the code. This concept tells us to use [A1] rather than Range("A1") and Range("StockRange")(3,4) rather than Range("StockRange").Cells(3,4)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Use vbNullString instead of ""(2 double quotes) :&lt;/b&gt; vbNullString is slightly faster than "", since vbNullString is not actually a string, but a constant set to 0 bytes, whereas "" is a string consuming at least 4-6 bytes for just existence. &lt;br /&gt;For example: Instead of strVariable = "", use strVariable = vbNullString.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Release memory from object variables: &lt;/b&gt; Whenever we create an object in VBA, we actually create two things -- an object, and a pointer (called an object reference). We might say,  "VB does not use pointers", but it is not true. "VB does not let you manipulate pointers" is more precise. Behind the scenes, VB still makes extensive use of pointers. To destroy an object in VB, you set it to Nothing. But wait a minute. If all we ever use are object pointers, how can we set the object itself to Nothing? The answer is: We can't.&lt;br /&gt;When we set a reference to Nothing, something called the garbage collector kicks in. This little piece of software tries to determine whether or not an object should be destroyed. There are many ways to implement a garbage collector, but Visual Basic uses what is called the reference count method. &lt;br /&gt;When VB interprets the last line(where we generally sets our objects to Nothing), it will remove the existing reference. At this point, if the object has no more references, the garbage collector will destroy the object and deallocate all its resources. If any other references point to the same object, the object will not be destroyed. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reduce the number of Lines:&lt;/b&gt; Avoid multiple statements especially when they can be clubbed into one line. For example - See these 2 macros&lt;br /&gt;&lt;table border="1px"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="50%"&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;SLOW MACRO&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;With &lt;/span&gt;Selection&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.WrapText = &lt;span style="color: blue;"&gt;True&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.ShrinkToFit = &lt;span style="color: blue;"&gt;False&lt;/span&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End With&lt;/div&gt;&lt;/td&gt;&lt;td width="50%"&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;FAST MACRO&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;With &lt;/span&gt;Selection&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.WrapText = &lt;span style="color: blue;"&gt;True&lt;/span&gt;: .ShrinkToFit = &lt;span style="color: blue;"&gt;False&lt;/span&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End With&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;As you can see, you can club multiple statements into one using colon character(&lt;b&gt;:&lt;/b&gt;). When you do this with multiple statements, it will decrease the readability but will increase the speed.&lt;br /&gt;&lt;u&gt;&lt;b&gt;Compiler Logic:&lt;/b&gt;&lt;/u&gt;&lt;b&gt;&lt;/b&gt; When we save the macro, it is virtually compiled and unlike it's human readable form as we saw in VBE(Visual Basic Editor), keywords(the dark blue words which you cannot use as variable) are saved as three-byte token which are faster to process as machine understand them better and variables, comments and literal strings which are not either keyword or directive are saved "as is". However VBA compiler tokenizes the word but it does not compress the lines and each line is maintained as is ending with the 'Carriage Return'. When the VBA macro is executed, VBA processor fetched single line at a time. The tokens of the fetched line saved by virtual compiler are now interpreted and executed then next line is fetched and so on. When we combine multiple lines using colon into one line, we're reducing the number of fetch cycles the processor must go through.&lt;br /&gt;&lt;i&gt;&lt;b&gt;Our Suggestion:&lt;/b&gt;&lt;/i&gt; This change will bring minor difference in time due to faster processors today. Moreover, you cannot have more than 255 characters in a line and you won't be able to debug your code using F8 efficiently. So it's a kind of useless, there is no reason to trade-off with readability with such a minor change in time.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Declare variable as Variable and constant as Constant:&lt;/b&gt; Seems, obvious ! But many of us don't follow it. Like &lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim &lt;/span&gt;Pi &lt;span style="color: blue;"&gt;As &lt;/span&gt;Double&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Pi = 3.14159&lt;br /&gt;instead use&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Const &lt;/span&gt;Pi &lt;span style="color: blue;"&gt;As &lt;/span&gt;Double&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Pi = 3.14159&lt;br /&gt;Since, its value is never changed so it will be evaluated once during compilation unlike variable which are evaluated many times during the run-time.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Avoid Unnecessary Copy and Paste:&lt;/b&gt; Follow this table rules:&lt;br /&gt;&lt;table border="1px"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;b&gt;Instead of&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center;"&gt;&lt;b&gt;Use this:&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Sheet1.Range("A1:A200").Copy&lt;br /&gt;Sheet2.Range("B1").PasteSpecial&lt;br /&gt;Application.CutCopyMode = &lt;span style="color: blue;"&gt;False&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;'Clear Clipboard&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;div style="color: #38761d;"&gt;'Bypass the Clipboard&lt;/div&gt;Sheet1.Range("A1:A200").Copy Destination:= Sheet2.Range("B1")&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Sheet1.Range("A1:A200").Copy&lt;br /&gt;Sheet2.Range("B1").PasteSpecial xlPasteValues&lt;br /&gt;Application.CutCopyMode=&lt;span style="color: blue;"&gt;False&lt;/span&gt;&lt;br /&gt;&lt;div style="color: #38761d;"&gt;'Clear Clipboard&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="color: #38761d;"&gt;'Bypass the Clipboard if only values are required&lt;/span&gt;&lt;br /&gt;Sheet2.Range("B1:B200").Value = Sheet1.Range("A1:A200").Value&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Sheet1.Range("A1:A200").Copy&lt;br /&gt;Sheet2.Range("B1").PasteSpecial xlPasteFormulas&lt;br /&gt;Application.CutCopyMode=&lt;span style="color: blue;"&gt;False&lt;/span&gt;&lt;br /&gt;&lt;div style="color: #38761d;"&gt;'Clear Clipboard&lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="color: #38761d;"&gt;'Bypass the Clipboard if only formulas are required&lt;/span&gt;&lt;br /&gt;Sheet2.Range("B1:B200").Formula = Sheet1.Range("A1:A200").Formula&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;'Same can be done with FormulaR1C1 and Array Formulas.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Use Worksheet Functions rather developing own logic:&lt;/b&gt; By using Application.WorkSheetFunction, we tell VBA processor to use native code rather than interpreted code as VBA understands the worksheet functions better than your algorithm. So, for example use&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mProduct = Application.WorkSheetFunction.Product(Range("C5:C10"))&lt;br /&gt;rather than defining your own logic like this:&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mProduct = 1&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;For &lt;/span&gt;i = 5 &lt;span style="color: blue;"&gt;to &lt;/span&gt;10&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mProduct = mProduct * Cells(3,i)&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Next&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Use 'For Each' rather than 'indexed For'&lt;/b&gt;: We can avoid using Indexed For when looping through collections. For example, take the code just before this tip. It can be modified to:&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;For Each&lt;/span&gt; myCell &lt;span style="color: blue;"&gt;in &lt;/span&gt;Range("C5:C10")&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mProduct = mProduct * myCell.Value&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Next&lt;/div&gt;This is in relation to qualifying object again and again as using "WITH" statements.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Avoid using 'Macro Recorder' style code:&lt;/b&gt;Ya, the code will look genius and eventually perform like Genius too ! You'll better catch it with example, so use:&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[A1].Interior.Color = vbRed&lt;br /&gt;rather than&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Range("A1").Select&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Selection.Interior.Color = vbRed&lt;br /&gt;Using too many Select and Selection effects the performance drastically. Ask yourself why to go in Cell and then change the properties? or rather ask why to go pizza shop when you can enjoy it at your home ;)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Avoid using Variant and Object in declaration statements:&lt;/b&gt; Think about better logic and get rid of them. i.e. do not use &lt;span style="color: blue;"&gt;Dim &lt;/span&gt;i &lt;span style="color: blue;"&gt;As &lt;/span&gt;Variant or &lt;span style="color: blue;"&gt;Dim &lt;/span&gt;mCell &lt;span style="color: blue;"&gt;As &lt;/span&gt;Object. By trying to be specific,we will save a lot of system memory this way, particularly in case of large projects. We may not remember which has been declared variant above and misuse a variable assigning any value to it which will be type-casted without errors. A variant's descriptor is 16 bytes long while double is 8 bytes, long is 4 bytes and integer is 2 bytes. Hence use Variant cautiously. As an example, use:&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim &lt;/span&gt;i &lt;span style="color: blue;"&gt;As &lt;/span&gt;Long rather than &lt;span style="color: blue;"&gt;Dim &lt;/span&gt;i &lt;span style="color: blue;"&gt;As&lt;/span&gt; Variant&lt;br /&gt;Similarly use:&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim &lt;/span&gt;mCell &lt;span style="color: blue;"&gt;As &lt;/span&gt;Range 'or&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim &lt;/span&gt;mSheet &lt;span style="color: blue;"&gt;As &lt;/span&gt;Worksheet&lt;br /&gt;rather than&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim &lt;/span&gt;mCell &lt;span style="color: blue;"&gt;As Object &lt;span style="color: #38761d;"&gt;'or&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; mSheet &lt;span style="color: blue;"&gt;As Object&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Declare OLE objects directly:&lt;/b&gt; Declaring and defining the OLE objects in declaration statement is called 'Early Binding' but declaring an object and defining it later is called 'Late Binding'. Always prefer 'Early Binding' over 'Late Binding'. Now for example use:&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim &lt;/span&gt;oXL &lt;span style="color: blue;"&gt;As &lt;/span&gt;Excel.Application&lt;br /&gt;rather than&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim &lt;/span&gt;oXL &lt;span style="color: blue;"&gt;As Object&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Set &lt;/span&gt;oXL = CreateObject("Excel.Application")&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Shrink or Reduce the size of Excel Workbook without losing data&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-3827229858269391662?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=g0MiROASujA:AUsec41uV-o:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=g0MiROASujA:AUsec41uV-o:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=g0MiROASujA:AUsec41uV-o:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=g0MiROASujA:AUsec41uV-o:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=g0MiROASujA:AUsec41uV-o:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=g0MiROASujA:AUsec41uV-o:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=g0MiROASujA:AUsec41uV-o:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=g0MiROASujA:AUsec41uV-o:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=g0MiROASujA:AUsec41uV-o:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/g0MiROASujA" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T18:11:35.810+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">8</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Europe</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">50.524603768799246 13.7109375</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">22.289999268799246 -46.0546875 78.75920826879924 73.4765625</georss:box><feedburner:origLink>http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html</feedburner:origLink></item><item><title>Excel 2003 Style Menu in Excel 2007/2010</title><link>http://feedproxy.google.com/~r/excelitems/~3/FMYk1RmSdNw/excel-2003-style-menu-in-excel-20072010.html</link><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Mon, 20 Dec 2010 02:27:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-1917932649756934151</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;I really don't want to write this article as I'm in love with new interface of Excel 2007 and wants my blog readers and every excel user to understand the new Ribbon Menu structure than to go back and use Excel 2003 style menu in Excel 2007. However I don't want to write but I'm not writing this article on a gun-point. Lolzzzzzzzz... The objective is to help those users who want to remain stick with legacy programs just because they don't understand new and improved systems. So, that they can move to new systems, explore it, gradually learn it and hence praise it.&amp;nbsp;&lt;span class="Apple-style-span" style="color: #221133; font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-size: 14px; line-height: 19px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #221133; font-family: 'Trebuchet MS', Trebuchet, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 19px;"&gt;Second reason is that such&amp;nbsp;utilities&amp;nbsp;are available @ cost of $20-$50 over the internet which my dear readers and excel users do not need to pay anyway.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;img border="0" height="85" src="http://3.bp.blogspot.com/_gV5Uxtigafo/TQ85lNVISoI/AAAAAAAADcw/v7j9YBTtjp4/s640/Excel_2003_Menu_in_Excel_2007.PNG" width="600" /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Excel 2003 Style Menu in Excel 2007&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;In my total experience with Excel and Excel users, I encountered many peoples (major of them Senior Managers and Managers) who resist Excel 2007 primarily due to its new ribbon structure. They were habitual to 2003 and before menu style and found it hard to locate their favorite commands. Anyway, let's come to technical part now.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-bottom: 0.5em; margin-left: auto; margin-right: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_gV5Uxtigafo/TQ85l05IgrI/AAAAAAAADc0/mHQED4etGHs/s1600/Excel_2003_Menu.PNG" style="cursor: move;" /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px; padding-top: 4px; text-align: center;"&gt;Excel 2003 Menu&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Excel 2007 introduced ribbon structure which is carried forward in Excel 2010 too and hence will continue to be part of Excel in future. This ribbon can be modified by any developer with the knowledge of XML and Ribbon key elements. However, Microsoft still kept the old command bars and command buttons, somewhere inside Excel 2007 and 2010 too.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-bottom: 0.5em; margin-left: auto; margin-right: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_gV5Uxtigafo/TQ85mY26RCI/AAAAAAAADc4/ZlBFE5mKrCY/s500/Excel_2007_Menu.PNG" style="cursor: move;" /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px; padding-top: 4px; text-align: center;"&gt;Excel 2007 Ribbon Menu Structure&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If you want to see the old command buttons and want to use them in Excel 2007/2010. Click on MS Office Button(2007) or File(2010) and go to Excel Options --&amp;gt; Customize --&amp;gt; 'Choose commands from' --&amp;gt; All Commands. Either find and select the options you want or run the macro below which will create the exact 2003 style menu in Add-ins tab of Excel 2007.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub&lt;/span&gt; Show_Excel_2003_Style_Menu()&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;On Error Resume Next&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;cmdBar &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;CommandBar&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;cmdBarCtrl &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;CommandBarControl&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;sMenuName &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;String&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;sToolbarName &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;String&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;iMenu &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Integer&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;sMenuName = "Excel 2003 Style Menu"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;sToolbarName = "Excel 2003 Style Toolbar"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;CommandBars(sMenuName).Delete&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;CommandBars(sToolbarName).Delete&lt;br /&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp; &amp;nbsp;'Code upto here can be used to hide/delete Excel 2003&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;'style menu from Excel 2007/2010.&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBar = CommandBars.Add(sMenuName, , , &lt;span class="Apple-style-span" style="color: blue;"&gt;True&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&amp;nbsp;'This will create Excel 2003 style menu bar in Excel 2007/2010&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;With &lt;/span&gt;cmdBar&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.Visible = &lt;span class="Apple-style-span" style="color: blue;"&gt;True&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For&lt;/span&gt; iMenu = 1 &lt;span class="Apple-style-span" style="color: blue;"&gt;To &lt;/span&gt;10&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Controls.Add(Type:=msoControlPopup, ID:=30001 + iMenu)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Next &lt;/span&gt;iMenu&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Controls.Add(Type:=msoControlPopup, ID:=30022) '&lt;span class="Apple-style-span" style="color: #38761d;"&gt;Chart&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Controls.Add(Type:=msoControlPopup, ID:=30177) '&lt;span class="Apple-style-span" style="color: #38761d;"&gt;AutoShapes&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;End With&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Set&lt;/span&gt; cmdBar = CommandBars.Add(sToolbarName, , , &lt;span class="Apple-style-span" style="color: blue;"&gt;True&lt;/span&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;With &lt;/span&gt;cmdBar&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.Visible = &lt;span class="Apple-style-span" style="color: blue;"&gt;True&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;With &lt;/span&gt;.Controls&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=2520) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'New&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=23) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Open&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=3)&lt;span class="Apple-style-span" style="color: #38761d;"&gt; 'Save&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=4)&lt;span class="Apple-style-span" style="color: #38761d;"&gt; 'Print&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=109)&lt;span class="Apple-style-span" style="color: #38761d;"&gt; 'Print Preview&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=2)&lt;span class="Apple-style-span" style="color: #38761d;"&gt; 'Spelling&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=21) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Cut&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=19) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Copy&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=22) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Paste&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=108)&lt;span class="Apple-style-span" style="color: #38761d;"&gt; 'Format Painter&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=210) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Sort Ascending&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=211) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Sort Descending&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=984)&lt;span class="Apple-style-span" style="color: #38761d;"&gt; 'Help&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlComboBox, ID:=1728) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Font&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlComboBox, ID:=1731)&lt;span class="Apple-style-span" style="color: #38761d;"&gt; 'Font Size&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=113) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Bold&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=114) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Italic&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=115) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Underline&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=120) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Align Left&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=122) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Center&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=121) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Align Right&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=402) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Merge and Center&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=395) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Accounting Number Format&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=396) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Percent Style&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=397) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Comma Style&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=398) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Increase Decimal&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=399) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Decrease Decimal&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;cmdBarCtrl = .Add(Type:=msoControlButton, ID:=3162) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Decrease Indent&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;Set&lt;/span&gt; cmdBarCtrl = .Add(Type:=msoControlButton, ID:=3161) &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Increase Indent&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;End With&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;End With&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Set&lt;/span&gt; cmdBar = &lt;span class="Apple-style-span" style="color: blue;"&gt;Nothing&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Set&lt;/span&gt; cmdBarCtrl = &lt;span class="Apple-style-span" style="color: blue;"&gt;Nothing&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;On Error GoTo&lt;/span&gt; 0&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;If you don't know or understand the VBA macros, &lt;a href="http://sites.google.com/site/blogspress/Home/Excel2003_Style_Menu.xlam?attredirects=0"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;download the add-in here.&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #6699dd; font-size: 1.3em; text-align: center;"&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;17 ways to OPTIMIZE VBA Code for FASTER Macros&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Shrink or Reduce the size of Excel Workbook without losing data&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-1917932649756934151?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=FMYk1RmSdNw:CLztEfa_eeA:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=FMYk1RmSdNw:CLztEfa_eeA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=FMYk1RmSdNw:CLztEfa_eeA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=FMYk1RmSdNw:CLztEfa_eeA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=FMYk1RmSdNw:CLztEfa_eeA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=FMYk1RmSdNw:CLztEfa_eeA:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=FMYk1RmSdNw:CLztEfa_eeA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=FMYk1RmSdNw:CLztEfa_eeA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=FMYk1RmSdNw:CLztEfa_eeA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/FMYk1RmSdNw" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T18:16:31.069+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_gV5Uxtigafo/TQ85lNVISoI/AAAAAAAADcw/v7j9YBTtjp4/s72-c/Excel_2003_Menu_in_Excel_2007.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">13</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Europe</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">51.39920565355378 7.734375</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">23.617415653553778 -52.03125 79.18099565355378 67.5</georss:box><feedburner:origLink>http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html</feedburner:origLink></item><item><title>Show Grid on Colored Range (Apply Border)</title><link>http://feedproxy.google.com/~r/excelitems/~3/CzpNaJouDQs/apply-border-color-range-macro.html</link><category>Worksheets</category><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Thu, 09 Dec 2010 01:35:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-7054666852157848373</guid><description>Whenever we apply background color to a range in Excel, we lost our gridlines. This macro, which is just a trick by applying colored border to the range will make it different i.e. Colored Range with Grid Lines. For eg. see the image below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img border="1" height="95" src="http://1.bp.blogspot.com/_gV5Uxtigafo/TQC7D1cNkJI/AAAAAAAAC6U/UCO_-bTeR6E/s400/Colored_Border_Range.PNG" width="400" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace; font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;Show_Grid_on_Color_Range()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;With &lt;/span&gt;Selection&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Selection.BorderAround xlContinuous, xlThin, , RGB(192, 192, 192)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;.Columns.Count&amp;gt; 1 &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;With &lt;/span&gt;.Borders(xlInsideVertical)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.LineStyle = xlContinuous&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Weight = xlThin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Color = RGB(192, 192, 192)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="color: blue;"&gt;End With&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If &lt;/span&gt;.Rows.Count&amp;gt; 1 &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;With&lt;/span&gt; .Borders(xlInsideHorizontal)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.LineStyle = xlContinuous&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Weight = xlThin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Color = RGB(192, 192, 192)&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End With&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;End With&lt;br /&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-7054666852157848373?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=CzpNaJouDQs:depSmavEjqM:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=CzpNaJouDQs:depSmavEjqM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=CzpNaJouDQs:depSmavEjqM:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=CzpNaJouDQs:depSmavEjqM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=CzpNaJouDQs:depSmavEjqM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=CzpNaJouDQs:depSmavEjqM:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=CzpNaJouDQs:depSmavEjqM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=CzpNaJouDQs:depSmavEjqM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=CzpNaJouDQs:depSmavEjqM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/CzpNaJouDQs" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2010-12-19T00:41:28.949+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_gV5Uxtigafo/TQC7D1cNkJI/AAAAAAAAC6U/UCO_-bTeR6E/s72-c/Colored_Border_Range.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.excelitems.com/2010/12/apply-border-color-range-macro.html</feedburner:origLink></item><item><title>Replace Characters in the Filenames of a Directory</title><link>http://feedproxy.google.com/~r/excelitems/~3/VvO21gX7wt4/replace-characters-filenames-vba.html</link><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Wed, 08 Dec 2010 03:43:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-5733113788477978986</guid><description>Friends, this is such a simple problem and hence the solution that I don't need to provide long texts explaining that what it does. Simply, see the figure below and you'll understand quite well that what would the macro below will do or how you can enhance it your way. In a single line, I would still say IT REPLACES CHARACTERS/STRINGS in all filenames present in the provided directory. Just a time saver and good to understand usage of DIR function.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img alt="Image:Replace Characters of Filenames ina directory" border="1" src="http://3.bp.blogspot.com/_gV5Uxtigafo/TP9soPdF6lI/AAAAAAAAC6M/FABJ5i4qY0A/s1600/Replace_Filename_Characters.PNG" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: 14px;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Function&lt;/span&gt; Replace_Filename_Character(&lt;span class="Apple-style-span" style="color: blue;"&gt;ByVal &lt;/span&gt;Path &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;String, _&lt;br /&gt;            &lt;span class="Apple-style-span" style="color: blue;"&gt;ByVal &lt;/span&gt;OldChr &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;String, &lt;span class="Apple-style-span" style="color: blue;"&gt;ByVal &lt;/span&gt;NewChr &lt;span class="Apple-style-span" style="color: blue;"&gt;As&lt;/span&gt; String)&lt;br /&gt;&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;FileName &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;String&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;br /&gt;    'Input Validation&lt;br /&gt;    'Trailing backslash (\) is a must&lt;/span&gt;&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;Right(Path, 1) &amp;lt;&amp;gt; "\" &lt;span class="Apple-style-span" style="color: blue;"&gt;Then &lt;/span&gt;Path = Path &amp;amp; "\"&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;br /&gt;    'Directory must exist and should not be empty.&lt;/span&gt;&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;If&lt;/span&gt; Len(Dir(Path)) = 0 &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;        Replace_Filename_Character = "No files found."&lt;br /&gt;        &lt;span class="Apple-style-span" style="color: blue;"&gt;Exit Function&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;br /&gt;    'Old character and New character must not be empty or null strings.&lt;/span&gt;&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;ElseIf&lt;/span&gt; Trim(OldChr) = "" And OldChr &amp;lt;&amp;gt; " " Then&lt;br /&gt;        Replace_Filename_Character = "Invalid Old Character."&lt;br /&gt;        &lt;span class="Apple-style-span" style="color: blue;"&gt;Exit Function&lt;br /&gt;    ElseIf&lt;/span&gt; Trim(NewChr) = "" And NewChr &amp;lt;&amp;gt; " " Then&lt;br /&gt;        Replace_Filename_Character = "Invalid New Character."&lt;br /&gt;        &lt;span class="Apple-style-span" style="color: blue;"&gt;Exit Function&lt;br /&gt;    End If&lt;/span&gt;&lt;br /&gt;    &lt;br /&gt;    FileName = Dir(Path &amp;amp; "*.*") &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Use *.xl* for Excel and *.doc for Word files&lt;/span&gt;&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Do While&lt;/span&gt; FileName &amp;lt;&amp;gt; ""    &lt;br /&gt;        &lt;span class="Apple-style-span" style="color: blue;"&gt;Name &lt;/span&gt;Path &amp;amp; FileName &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Path &amp;amp; Replace(FileName, OldChr, NewChr)&lt;br /&gt;        FileName = Dir&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Loop&lt;/span&gt;&lt;br /&gt;    Replace_Filename_Character = "Ok"&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Subroutine to explain the above function's usage as per the&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;above &lt;/span&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;figure.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;Function_Sample_Usage()&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;lResult &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;String&lt;br /&gt;    &lt;br /&gt;    lResult = Replace_Filename_Character("D:\test", " ", "_")&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Debug.Print&lt;/span&gt; lResult &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Returns Ok&lt;/span&gt;&lt;br /&gt;    &lt;br /&gt;    lResult = Replace_Filename_Character("D:\test", " ", "_")&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Debug.Print&lt;/span&gt; lResult &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Returns Ok though no spaces in filenames now&lt;/span&gt;&lt;br /&gt;    &lt;br /&gt;    lResult = Replace_Filename_Character("D:\test\", "", "_")&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Debug.Print&lt;/span&gt; lResult &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Returns 'Invalid Old Character'&lt;/span&gt;&lt;br /&gt;    &lt;br /&gt;    lResult = Replace_Filename_Character("D:\test\Test01", " ", "_")&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Debug.Print&lt;/span&gt; lResult &lt;span class="Apple-style-span" style="color: #38761d;"&gt;'Returns 'No files found' as invalid directory provided.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-5733113788477978986?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VvO21gX7wt4:xHEgeIkFwuo:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VvO21gX7wt4:xHEgeIkFwuo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VvO21gX7wt4:xHEgeIkFwuo:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VvO21gX7wt4:xHEgeIkFwuo:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=VvO21gX7wt4:xHEgeIkFwuo:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VvO21gX7wt4:xHEgeIkFwuo:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VvO21gX7wt4:xHEgeIkFwuo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=VvO21gX7wt4:xHEgeIkFwuo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=VvO21gX7wt4:xHEgeIkFwuo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/VvO21gX7wt4" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2010-12-08T17:21:42.278+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_gV5Uxtigafo/TP9soPdF6lI/AAAAAAAAC6M/FABJ5i4qY0A/s72-c/Replace_Filename_Characters.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">United States</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">40.44694705960048 -103.359375</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">7.721339059600481 -163.125 73.17255505960048 -43.59375</georss:box><feedburner:origLink>http://www.excelitems.com/2010/12/replace-characters-filenames-vba.html</feedburner:origLink></item><item><title>Square Cells or Create Graph Cells with VBA</title><link>http://feedproxy.google.com/~r/excelitems/~3/poy3XZi3ldk/square-cells-or-create-graph-cells-with.html</link><category>Worksheets</category><category>Rows Columns</category><category>VBA Macro</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Mon, 06 Dec 2010 03:22:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-7587347195594761656</guid><description>The grid cells in Excel appears to be rectangular by default.&amp;nbsp;In case you would like to convert them into squares as we have graph cells(See image below) then you need to write a macro for that. Column default width is 8.43 points spanning 64 pixels and Row height is 15 points spanning 20 pixels.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/_gV5Uxtigafo/TPy-98_QrNI/AAAAAAAAC6E/1LVysAXNWo8/s400/Square_Excel_Cells_Grid.PNG" width="340" /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;The height and width may appear weird to you as Row height is less than Column width but value is almost double. &amp;nbsp;Let's get clear on this first.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Fact 01:&lt;/b&gt; One unit of column width is equal to the width of one character in the Normal style.&lt;br /&gt;&lt;b&gt;Fact 02:&lt;/b&gt; For proportional fonts, the width of the character 0 (zero) is used.&lt;br /&gt;&lt;b&gt;Fact 03:&lt;/b&gt;&amp;nbsp;If all columns in the range have the same width, the ColumnWidth property returns the width.&lt;br /&gt;&lt;b&gt;Fact 04:&lt;/b&gt; If columns in the range have different widths, this property returns Null.&lt;br /&gt;&lt;br /&gt;Solution: To achieve our results, we need to proportionate pixels on the basis of points. Simply, we can divide ColumnWidth(pixels) by Width of Columns(points) and multiplying the result with Height of Row(points) and this will be equal to new ColumnWidth(Pixels). Programmatically, we can sum up all of this as follows:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Sub &lt;/span&gt;Create_Graph_Cells()&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'aka Square the Cells or Convert sheet to Grid&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'This macro will convert ActiveSheet/Selected Columns to Graph cells&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="color: #38761d;"&gt;'based on First Cell dimensions.&lt;/span&gt;&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;i &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Integer&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Dim &lt;/span&gt;rng &lt;span class="Apple-style-span" style="color: blue;"&gt;As &lt;/span&gt;Range&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;If &lt;/span&gt;MsgBox("Would you like to Square Cells of Whole Worksheet?", _&lt;br /&gt;              vbYesNo, "Selected Columns or Whole Worksheet?") = vbYes &lt;span class="Apple-style-span" style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;        &lt;span class="Apple-style-span" style="color: blue;"&gt;Set &lt;/span&gt;rng = ActiveSheet.Cells&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;Else&lt;br /&gt;        Set&lt;/span&gt; rng = Selection&lt;br /&gt;    &lt;span class="Apple-style-span" style="color: blue;"&gt;End If&lt;br /&gt;    For&lt;/span&gt; i = 1 To 4&lt;br /&gt;        &lt;span class="Apple-style-span" style="color: blue;"&gt;With &lt;/span&gt;rng&lt;br /&gt;            .Columns.ColumnWidth = _&lt;br /&gt;            .Columns("A").ColumnWidth / .Columns("A").Width * _&lt;br /&gt;            .Rows(1).Height&lt;br /&gt;        &lt;span class="Apple-style-span" style="color: blue;"&gt;End With&lt;br /&gt;    Next&lt;br /&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-7587347195594761656?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=poy3XZi3ldk:o7bVdNo8l-A:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=poy3XZi3ldk:o7bVdNo8l-A:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=poy3XZi3ldk:o7bVdNo8l-A:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=poy3XZi3ldk:o7bVdNo8l-A:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=poy3XZi3ldk:o7bVdNo8l-A:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=poy3XZi3ldk:o7bVdNo8l-A:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=poy3XZi3ldk:o7bVdNo8l-A:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=poy3XZi3ldk:o7bVdNo8l-A:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=poy3XZi3ldk:o7bVdNo8l-A:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/poy3XZi3ldk" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2010-12-06T16:53:34.326+05:30</atom:updated><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_gV5Uxtigafo/TPy-98_QrNI/AAAAAAAAC6E/1LVysAXNWo8/s72-c/Square_Excel_Cells_Grid.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">Western Europe</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">55.178867663281984 -3.515625</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">29.436178663281986 -63.28125 80.92155666328199 56.25</georss:box><feedburner:origLink>http://www.excelitems.com/2010/12/square-cells-or-create-graph-cells-with.html</feedburner:origLink></item><item><title>3 Things to remember before you go for Excel VBA Job Interview</title><link>http://feedproxy.google.com/~r/excelitems/~3/wVZlQK-U4-M/excel-vba-job-interview-questions.html</link><category>Interview</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Sun, 05 Dec 2010 10:29:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-5083281537442197014</guid><description>Like giving interview is a skill, taking interview is another great skill. I've taken many in the past and given more than I've taken and here I'm sharing the content from my experience. Your interview experience may be totally different than this but you must be aware of it and should not miss some common things mentioned here. These are my personal views and have nothing to do any of my past or present employers.&lt;br /&gt;&lt;br /&gt;If I will conduct an interview, I'll not probe your technical knowledge only but also how much logical and reasoning thinking you possess along with some programming etiquette.&lt;br /&gt;&lt;br /&gt;First interviewer sees your general attitude towards programming and will try to calm down your blood pressure. While it seems very easy this is the biggest hurdle. He may give you a very easy program to write like sorting an array, coloring the sheet tabs, etc. The objective is not to see your technical knowledge but your programming behavior. Such programs are so obvious and easy that expectations are not about writing the program but to see &lt;u&gt;comments, indentation, using meaningful variable names, declaring variables(which one don't needs to but considered a great practice), using Option Explicit, Debugging style etc.&lt;/u&gt; To know that good you're able to communicate your logic with other developers. This is very helpful for the team and is considered a good practice with fruits returned in long term.&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;a name='more'&gt;&lt;/a&gt;Secondly, he will try to test your &lt;u&gt;knowledge of Excel Object Model. &lt;/u&gt;They may ask you to sort and filter a range, or clean out duplicate data from a list, consolidate data from multiple files, import data from MS access databases etc . He will look for &lt;u&gt;knowledge of and ability to work with fundamental Excel objects&lt;/u&gt; such as Workbook, Worksheet, Range etc; also he will definitely want to see that you &lt;u&gt;neither use "Macro Recorder" nor macro recorder style code using Select and Activate everywhere.&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thirdly he would be interested in your &lt;u&gt;excel knowledge as well as how VBA works. &lt;/u&gt;Like pivots, charts, UDF, volatile functions(Can you write code that runs every time the worksheet changes?”) etc. &lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;For list of 50 such ORAL Interview VBA questions, click here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;u&gt;Lastly, the questions would be job specific&lt;/u&gt; that if its a consulting firm questions will revolve around statistical models, SAS etc, in case of bank - financial dashboards,KPI etc. and in case of capacity management or databases they'll revolve around ADO, Basic SQL etc.&lt;br /&gt;&lt;br /&gt;Good interviewers put “Knowledge of Excel” above “Knowledge of Excel VBA” as in their opinion, the latter is more straightforward and easier to learn but it’s harder to find people who are good at writing efficient Excel formulas(esp. Array Formulas) as often formulas can yield a far more efficient solution – faster by several orders of magnitude.&lt;br /&gt;&lt;br /&gt;Excel VBA is a very vast field but interview questions revolve around common things. Interviewer may ask some stupid or Out-of-the-box question to worry you a little, may give you too less time to write a macro or do anything to worry about. &lt;span style="color: #6aa84f;"&gt;YOU DON'T NEED TO WORRY&lt;/span&gt;, it's ok if you don't know answers to some questions. Maintain &lt;b&gt;&lt;span style="color: #6aa84f;"&gt;NEVER GIVE UP&lt;/span&gt;&lt;/b&gt; attitude and YOU'LL SUCCEED.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b style="font-family: Verdana,sans-serif;"&gt;&lt;span style="color: #6fa8dc; font-size: large;"&gt;WISH YOU ALL THE BEST !&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-5083281537442197014?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=wVZlQK-U4-M:MmZYOv357rA:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=wVZlQK-U4-M:MmZYOv357rA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=wVZlQK-U4-M:MmZYOv357rA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=wVZlQK-U4-M:MmZYOv357rA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=wVZlQK-U4-M:MmZYOv357rA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=wVZlQK-U4-M:MmZYOv357rA:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=wVZlQK-U4-M:MmZYOv357rA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=wVZlQK-U4-M:MmZYOv357rA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=wVZlQK-U4-M:MmZYOv357rA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/wVZlQK-U4-M" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2010-12-06T00:17:47.809+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">9</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">United States</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">39.109604670903245 -102.65625</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">5.870485170903244 -162.421875 72.34872417090324 -42.890625</georss:box><feedburner:origLink>http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html</feedburner:origLink></item><item><title>JOBS for Analysts (INDIA) - Excel, Access, VBA, SQL MIS JOBS</title><link>http://feedproxy.google.com/~r/excelitems/~3/fphelM5c2-E/analyst-excel-access-sql-mis-jobs.html</link><category>Interview</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Sat, 04 Dec 2010 15:29:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-2029061440366415653</guid><description>1.&lt;br /&gt;&lt;table border="1px"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Company Name:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;AMWAY&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Role:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;Sales Plan Administration&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;Reports to Associate Manager. You have to analyse data which comes from distributor ,marketing and sales ,promotion for their future plans. Ensure timely compliance of all awards &amp;amp; rewards applications. Implement and support long term company strategies of growth through plan specifics.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Location:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Noida, UP, India&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Eligibility:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Bachelor's degree&amp;nbsp;with 2-4 yrs. of experience. MS Excel, Access and VBA&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Contact/Source&lt;/b&gt;:&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;Sharamistha (Velocity Consultants) -&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;a href="mailto:resume@hkbgroup.com" style="color: #336633;" target="_blank"&gt;resume@hkbgroup.com&lt;/a&gt;&amp;nbsp;&amp;nbsp;- &amp;nbsp;+91 - 11 -&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;46472223&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;2.&lt;br /&gt;&lt;table border="1px"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Company Name:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;Irevna - A Division of Crisil&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Role:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;VBA Developer&lt;br /&gt;&lt;span class="Apple-style-span"&gt;Building complex reports with multiple data points. It will involve building databases in access and generating reports using SQL queries and VBA codes. It will also involve building macros in excel. Maintaining and Enhancing existing Databases and templates. Job involves time critical delivery and crunch time support&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Location:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Chennai, India&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Eligibility:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Bachelor's degree with 2-4 yrs. of experience. MS Excel and VBA. SQL and Finance industry experience preferred.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Contact/Source:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;Ashwath Mahadev Subramanian, HR Irevna (&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;044-42263245) -&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;a href="mailto:ashwathms@irevna.com" style="color: #336633;" target="_blank"&gt;ashwathms@irevna.com&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3.&amp;nbsp;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Deadline: Dec. 13, 2010 (Interview on Dec.14, 2010)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;table border="1px"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Company Name:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Genpact&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Role:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span"&gt;Reporting Digitization&lt;br /&gt;1) Develop advanced MS Excel / MS Access based models.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;2) Enhance and Maintain existing models within the process.&lt;br /&gt;3) Developing customized reports from the model databases.&lt;br /&gt;4) Develop process / software documents for existing and new models.&lt;br /&gt;5) Digitize reports using VBA and macros.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Location:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Gurgaon, Haryana, India&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Eligibility:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span"&gt;Excel/VBA/Access - Experience reqd. but not mentioned.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Contact/Source:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Indrani (Ikya HCS Consultants) -&amp;nbsp;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;a href="mailto:indrani@ikyaglobal.com" style="color: #336633;" target="_blank"&gt;indrani@ikyaglobal.com&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;080-6713 1051&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.&lt;br /&gt;&lt;table border="1px"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Company Name:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Hewitt Associates&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Role:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span"&gt;VBA Developer&lt;br /&gt;Knowledge of XML and MS Excel and working exp. in XML and Excel is a plus.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;Knowledge of internet protocols is a plus.&lt;br /&gt;Working experience in a web application is a plus.&lt;br /&gt;Working experience in VB Macros and event handling is a plus.&lt;br /&gt;Knowledge and/or working experience in MSP (Microsoft Project) is a plus.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Location:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Gurgaon, Haryana, Delhi&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Eligibility:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;0.6 - 3 Years Experience. Excel and VBA is a must.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Contact/Source:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span"&gt;Mamta (Jobline Consultants) -&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;7503101684 -&amp;nbsp;&lt;a href="mailto:manisha.prasad@hewitt.com"&gt;manisha.prasad@hewitt.com&lt;/a&gt;,&amp;nbsp;&lt;a href="mailto:mamta@jobconnect.co.in"&gt;mamta@jobconnect.co.in&lt;/a&gt;,&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5.&lt;br /&gt;&lt;table border="1px"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Company Name:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span"&gt;Annik Technologies ( &lt;a href="http://www.anniksystems.com/"&gt;www.anniksystems.com&lt;/a&gt;)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Role:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span"&gt;VBA Programmer (&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;Contract-to-Hire basis for 12 months.)&lt;/span&gt;&lt;br /&gt;1.Having Strong Knowledge (Expertise) of VBA Programming.&lt;br /&gt;2.Expertise in following technologies: MS Word, Excel, Power Point and MS Access.&lt;br /&gt;3.Proficient in VB programming.&lt;br /&gt;4.Proficient in Excel and Power Point charts preparation using VBA programming.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Location:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Gurgaon, Haryana, Delhi&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Eligibility:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;Open to work on Shift Basis. Exp: 3-4 Years,&amp;nbsp;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Contact/Source:&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;Archie Gautam (Kelly Services) -&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;9711987805&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-2029061440366415653?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=fphelM5c2-E:9Ml5lUr2R7Q:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=fphelM5c2-E:9Ml5lUr2R7Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=fphelM5c2-E:9Ml5lUr2R7Q:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=fphelM5c2-E:9Ml5lUr2R7Q:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=fphelM5c2-E:9Ml5lUr2R7Q:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=fphelM5c2-E:9Ml5lUr2R7Q:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=fphelM5c2-E:9Ml5lUr2R7Q:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=fphelM5c2-E:9Ml5lUr2R7Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=fphelM5c2-E:9Ml5lUr2R7Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/fphelM5c2-E" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2010-12-19T00:33:47.982+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">India</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">20.593684 78.96288</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">0.4022280000000009 49.0800675 40.78514 108.8456925</georss:box><feedburner:origLink>http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html</feedburner:origLink></item><item><title>50 Excel VBA Oral Interview Questions</title><link>http://feedproxy.google.com/~r/excelitems/~3/52woy7wugOw/excel-vba-interview-questions.html</link><category>Interview</category><author>noreply@blogger.com (Ashish Jain)</author><pubDate>Sat, 04 Dec 2010 11:32:00 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4740658050604206807.post-2932965255712114626</guid><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;These Excel VBA Interview questions are being posted keeping in mind that reader is aware of working with VBA, have some programming and MS Excel background and is aware of terminologies. This question bank is helpful for both Interviewee and Interviewer as it provides a quick channel of questions and answers covering major topics of Excel and VBA.&lt;br /&gt;&lt;br /&gt;If you're looking for a job in MIS/Automation/Dashboard creation etc. as a Business Analyst, Senior Analyst, Associate Analyst, etc involving MS Excel, MS Access, VBA, SQL, Cognos, ASP.NET etc then &lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Click here on 'Excel VBA Job Postings'&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 01.  What is the difference between ByVal and ByRef and which is default ?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: ByRef:&lt;/b&gt; If you pass an argument by reference when calling a procedure the procedure access to the actual variable in memory. As a result the variable's value can be changed by the procedure.&lt;br /&gt;&lt;b&gt;ByVal:&lt;/b&gt; If you pass an argument by value when calling a procedure the variable's value can be changed with in the procedure only outside the actual value of the variable is retained.&lt;br /&gt;&lt;b&gt;ByRef is default:&lt;/b&gt; Passing by reference is the default in VBA. If you do not explicitly specify to pass an argument by value VBA will pass it by reference. &lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 02.  What is the meaning of Option Explicit and Option Base?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Option Explicit makes the declaration of Variables Mandatory while Option Base used at module level to declare the default lower bound for array subscripts. For eg. Option Base 1 will make the array lower bound as 1 instead of 0.&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 03.  What are various data type and their size?&lt;/b&gt;&lt;/div&gt;Solution: &lt;br /&gt;i)   The &lt;b&gt;Boolean &lt;/b&gt;data type has only two states, True and False. These types of variables are stored as 16-bit (2 Byte) numbers, and are usually used for flags.&lt;br /&gt;ii)  The &lt;b&gt;Byte &lt;/b&gt;data type is an 8-bit variable which can store value from 0 to 255. &lt;br /&gt;iii) The &lt;b&gt;Double &lt;/b&gt;data type is a 64-bit floating point number used when high accuracy is needed. &lt;br /&gt;iv)  The &lt;b&gt;Integer &lt;/b&gt;data type is a 16-bit number which can range from -32768 to 32767. Integers should be used when you are working with values that can not contain fractional numbers. In case, you're working over 32767 rows use Long as data type.&lt;br /&gt;v)   The &lt;b&gt;Long &lt;/b&gt;data type is a 32-bit number which can range from -2,147,483,648 to 2,147,483,647.&lt;br /&gt;vi)  The &lt;b&gt;Single &lt;/b&gt;data type is a 32-bit number ranging from -3.402823e38 to -1.401298e-45 for negative values and from 1.401298e-45 to 3.402823e38 for positive values. When you need fractional numbers within this range, this is the data type to use.&lt;br /&gt;vii) The &lt;b&gt;String &lt;/b&gt;data type is usually used as a variable-length type of variable. A variable-length string can contain up to approximately 2 billion characters. Each character has a value ranging from 0 to 255 based on the ASCII character set. &lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 04.  Difference between ActiveWorkbook and ThisWorkbook.&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; ThisWorkbook refers to the workbook where code is being written while ActiveWorkbook refers to the workbook which is in active state with active window. In case of only one workbook open, ActiveWorkbook is same as ThisWorkbook.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 05.  Code to find a Last used Row in a column or Last used column of a Row.&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Last Row in a column can be find using End(xlUp) and Last Column in a row can be find using End(xlToLeft). For e.g. Range("A1048576").End(xlUp).Row gives last used row of Column A.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 06.  Difference between ActiveX and Form Controls.&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;&lt;br /&gt;i) Forms controls can be used on worksheets and chart sheets. Forms controls can also be placed within embedded charts in Classic Excel (though not in Excel 2007). ActiveX controls can only be used on worksheets. ActiveX controls do not work in MacExcel.&lt;br /&gt;ii) The Forms controls aren’t very complicated, and they have been part of Excel for longer (they were used in Excel 5/95’s dialog sheets) than the Controls Toolbox (Excel 97), so it stands to reason that they’d be more seamlessly integrated. Being newer, the ActiveX controls have richer formatting possibilities. Both can link to cells and ranges in the worksheet.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 07. What is the difference b/w Functions and Subroutines?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;&lt;br /&gt;i)  Subroutines never return a value but functions does return values.&lt;br /&gt;ii) A function could not change the values of actual arguments whereas a subroutine could change them.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 08.  How to debug a VBA code?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Using Breakpoints(F9), Step-by-step execution (F8), Debug.Print &amp;amp; Immediate Window and Watch window.&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 09.  Draw basic Excel Object Model.&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Application --&amp;gt; Workbooks --&amp;gt; Worksheets --&amp;gt; Range / Chart&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 10.  What are properties, methods, events and objects?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; For details click here --&amp;gt; http://msdn.microsoft.com/en-us/library/ms172576%28VS.80%29.aspx&lt;br /&gt;All the controls in the ToolBox except the Pointer are &lt;b&gt;objects &lt;/b&gt;in Visual Basic. These objects have associated properties, methods and events. &lt;br /&gt;A &lt;b&gt;property &lt;/b&gt;is a named attribute of a programming object. Properties define the characteristics of an object such as Size, Color etc. or sometimes the way in which it behaves.&lt;br /&gt;A &lt;b&gt;method &lt;/b&gt;is an action that can be performed on objects. For example, a cat is an object. Its properties might include long white hair, blue eyes, 3 pounds weight etc. A complete definition of cat must only encompass on its looks, but should also include a complete itemization of its activities. Therefore, a cat's methods might be move, jump, play, breath etc.&lt;br /&gt;Visual Basic programs are built around &lt;b&gt;events&lt;/b&gt;. Events are various things that can happen in a program. Let us consider a TextBox control and a few of its associated events to understand the concept of event driven programming. The TextBox control supports various events such as Change, Click, MouseMove and many more that will be listed in the Properties dropdown list in the code window for the TextBox control. We will look into a few of them as given below.&lt;br /&gt;*      The code entered in the Change event fires when there is a change in the contents of the TextBox&lt;br /&gt;*      The Click event fires when the TextBox control is clicked.&lt;br /&gt;*      The MouseMove event fires when the mouse is moved over the TextBox&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 11.  How to hide a worksheet so that a user cannot unhide it?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Use Sheet's visible property and set it to &lt;b&gt;xlSheetVeryHidden &lt;/b&gt;. For eg. Sheets(1).Visible = xlSheetVeryHidden will super hide the first worksheet of the workbook.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 12.  Union is used for _____________ ?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; To unite the different ranges depending on the logic. It is similar to set union, here range works as set. For eg. Set nrange = Union(rng1,rng2)&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 13.  Which are the 2 macro languages and which do you use ?&lt;/b&gt;&lt;/div&gt;&lt;b style="color: blue;"&gt;Solution: &lt;/b&gt;XLM (used in Excel 97 or before) and VBA(used for 2000 and after). Obviously, VBA is in use these days.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 14.  Can you lock cells such that only specific users can modify them?&lt;/b&gt;&lt;/div&gt;&lt;b style="color: blue;"&gt;Solution:&lt;/b&gt; There is a option "Allow users to edit ranges" can be used for this purpose.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 15.  How can you add a drop-down list to a cell so the user can choose a value from the list?&lt;/b&gt;&lt;/div&gt;&lt;b style="color: blue;"&gt;Solution:&lt;/b&gt; Using 'Data Validation'.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 16.  How can you increase the number of rows in a worksheet?  &lt;/b&gt;&lt;/div&gt;&lt;b style="color: blue;"&gt;Solution:&lt;/b&gt; No one can't. They're fixed as 65536(2^16) in Excel 2003 or before and 1048576(2^20) in Excel 2007 &amp;amp; Excel 2010.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 17.  How can you increase the number of columns in a worksheet?&lt;/b&gt;&lt;/div&gt;&lt;b style="color: blue;"&gt;Solution: &lt;/b&gt;No one can't. They're fixed as 256(2^8) in Excel 2003 or before and 16384(2^14) in Excel 2007 &amp;amp; Excel 2010.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques. 18. How will you distribute a workbook such that it can't be copied using macro or anything?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; We can create a workbook which cannot be modified but can not create a workbook which can't be copied.(It depends on system security, it has nothing to do with Excel or VBA)&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 19.  Your colleague created a dashboard and when you enter a value, it appears with two decimal places. For example, when you enter 265 it shows up as 2.65. What's wrong?  &lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; By chance Excel's fixed-decimal mode was turned on. To return to normal, &lt;br /&gt;&lt;b&gt;Excel 2003 --&amp;gt;&lt;/b&gt;&lt;br /&gt;Click Tools and then Options to display the Options dialog box.&lt;br /&gt;Then click the Edit tab and remove the check mark from the "Fixed decimal " option.&lt;br /&gt;&lt;b&gt;Excel 2007 --&amp;gt; &lt;/b&gt;&lt;br /&gt;Click Office button on Top-Left corner and click 'Excel Options'.&lt;br /&gt;Go to Advanced and Uncheck 'Automatically insert a decimal point' option.&lt;br /&gt;&lt;b&gt;Excel 2010 --&amp;gt;&lt;/b&gt;&lt;br /&gt;Click File button on Top-Left corner and click 'Excel Options'.&lt;br /&gt;Go to Advanced and Uncheck 'Automatically insert a decimal point' option.&lt;br /&gt;&lt;br /&gt;Of course, this feature can be useful when entering some types of data, but most of the time, you'll want to keep the fixed-decimal mode turned off.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 20.  How can you prevent a user for adding or deleting sheets?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; You need to protect the workbook's structure.&lt;br /&gt;&lt;b&gt;Excel 2003 --&amp;gt;&lt;/b&gt;&lt;br /&gt;Select Tools - Protection - Protect Workbook. In the Protect Workbook dialog box, make sure that the Structure checkbox is checked. &lt;br /&gt;&lt;b&gt;Excel 2007/2010 --&amp;gt;&lt;/b&gt;&lt;br /&gt;Go to Review --&amp;gt; Click 'Protect Workbook' --&amp;gt; Click 'Protect Structure and Windows' &lt;br /&gt;&lt;br /&gt;If you specify a password, that password will be required to unprotect the workbook. When a workbook's structure is protected, the user may not:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Add/Delete a sheet&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Hide/Unhide a sheet&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Rename a sheet&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Move a sheet&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 21.  What types of workbook protection are available?  &lt;/b&gt;&lt;/div&gt;&lt;b style="color: blue;"&gt;Solution: &lt;/b&gt;Excel provides three ways to protect a workbook:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Require a password to open the workbook&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Prevent users from adding sheets, deleting sheets, hiding sheets, and unhiding sheets&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Prevent users from changing the size or position of windows&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 22.  The Font dialog box allows you to select different Fonts, their style, their size, and some other special effects. How do you bring up this Font dialog box? &lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Use Application.Dialogs(xlDialogFont).Show or Application.Dialogs(xlDialogFormatFont).Show to load font dialog box from Excel VBA. &lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 23.  What is ADO, OLEDB &amp;amp; ODBC?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;&lt;br /&gt;ADO : ActiveX Data Objects is universal data access framework that encompasses the functionality of DAO.&lt;br /&gt;ODBC : Open Database Connectivity(ODBC) is a windows technology that lets a database client application connect to a external database.&lt;br /&gt;OLEDB : Low level programming interface designed to access a wide variety of data access Object Linking and Embedding (OLE).&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 24.  How to set the custom paper size in Excel Object through VB?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Activesheet.PageSetup.PaperSize = xlPaperLetter (Similarly xlPaperA4 or xlPaperLegal etc.)&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 25.  What is the method for returning more than one values from a function in VB?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;Any of the three methods can be used:&lt;br /&gt;i)   Create a class with the properties you require to return and then return the object of the class from the function.&lt;br /&gt;ii)  Using ByRef for the values.&lt;br /&gt;iii) Return an array of the values.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 26.  Does VBA supports OOP principles?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;Yes because VBA is VB6.0 based which is an Object Based Programming Language and is also known as 'Event Driven Programming' and it supports Polymorphism,  Encapsulation and partially Inheritance.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 27.  To set the command button for ESC, Which property needs to be changed?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;Set Cancel property of Button to True on the Form.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 28.  What is Type Library and its purpose?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;Type libraries are files that explicitly describe some or all of the contents of components. This includes information about the methods properties constants and other members exposed by the component. Development tools such as Visual Basic make use of the information contained in the type library to help you as a developer access and use the component. In addition type libraries provide a convenient way to include a simple level of descriptive documentation for component members. You can use them through 'Tools --&amp;gt; References' in VBE.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 29.  How do you use the Getsetting and Savesetting functions to read and write registry settings?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;A computer registry can be used to store configuration settings and application initialization. We can use Getsetting function to read registry settings and save settings function to write registry settings. Application name, section, key, setting, and default are to be specified for registry modifying. It is advisable to know about your computer settings before modifying registry settings.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 30.  What is a Variant, what the pros and cons of its use?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt; Variant data type is able to hold any other data type, including numbers, strings, dates, and object references. A Variant's descriptor is only 16 bytes long (4 short words for the type, and 2 long words for the data, or data pointer).&lt;br /&gt;Pros: You cannot use Null with any variable type other than Variant.&lt;br /&gt;You don't need to worry about what you have declared a variable as.&lt;br /&gt;When a Variant has been declared but not assigned a value, it contains the special value Empty.&lt;br /&gt;Cons: A developer may not remember and misuse a variable assigning any value to it which will be type-casted without errors.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 31.  Give technical reasons which made Microsoft withdraw its support for VBA in Mac?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; The reasons which made Microsoft drop its support to VBA are as follows, Microsoft visual basic relies heavily on machine code which was written for Power PC architecture. Also it would take another two years for developing VBA support for its architecture. It also states that Microsoft will incorporate VBA in the next script of office release for Mac.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 32.  What is a volatile function?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Volatile functions are a type of function that will always recalculate.  That means whenever Excel needs to calculate any part of the worksheet, those cells containing volatile functions will also calculate.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 33.  Give some examples of Volatile function.&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;&lt;br /&gt;Some of Excel’s functions are obviously volatile: RAND(), NOW(), TODAY()&lt;br /&gt;Others are less obviously volatile: OFFSET(), CELL(), INDIRECT(), INFO()&lt;br /&gt;Some are volatile in some versions of Excel but not in others: INDEX()became non-volatile in Excel 97.&lt;br /&gt;A number of functions that are documented by Microsoft as volatile do not actually seem to be volatile when tested:&lt;br /&gt;INDEX(), ROWS(), COLUMNS(), AREAS()&lt;br /&gt;and CELL("Filename") IS volatile although a MSKBN article says its not.&lt;br /&gt;One particular syntax of SUMIF is volatile in Excel 2002 and subsequent versions:&lt;br /&gt;=SUMIF(A1:A4,"&amp;gt;0",B1) is volatile whereas =SUMIF(A1:A4,"&amp;gt;0",B1:B4) is not volatile.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 34.  How do you make a UDF volatile?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; By adding Application.Volatile statement to it. It must be the first line of your User Defined Function.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 35. Is it possible to apply 'Application.Volatile(False)' to a volatile public function like INDEX and make it not volatile?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Actually INDEX is not a volatile function, even though some MicroSoft documentation says it is. Anyway no its not possible to apply Application.Volatile(False) to a built-in Excel function except by duplicating what the built-in function does inside a UDF.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 36.  What is Excel dependency tree?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;Dependency trees are excel way of minimizing the calculation by tracking what has changed since last calculation. It allows Excel to recalculate only:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Formulae/Names that have changed.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Formulae containing Volatile Functions&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Formulae dependent on changed or volatile formulae or cells or names.&lt;br /&gt;&lt;br /&gt;Excel determines dependencies by looking at the cells referred to by each formula and by the argument list of each function.&lt;br /&gt;Dependency trees are immediately updated whenever a formula is entered or changed.&lt;br /&gt;To force the dependency trees to be rebuilt and all formulae calculation use CTRL+ALT+SHIFT+F9.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 37.  What are keyboard shortcuts and their equivalent VBA methods for Formulae calculation and building Excel dependency trees?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Shortcut Combination&lt;/td&gt;&lt;td&gt;VBA Equivalent&lt;/td&gt;&lt;td&gt;Meaning&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;F9&lt;/td&gt;&lt;td&gt;Application.Calculate&lt;/td&gt;&lt;td&gt;Recalculate&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl+Alt+F9&lt;/td&gt;&lt;td&gt;Application.CalculateFull&lt;/td&gt;&lt;td&gt;Full Calculation&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl+Alt+Shift+F9&lt;/td&gt;&lt;td&gt;Application.CalculateFullRebuild&lt;/td&gt;&lt;td&gt;Rebuild Excel Dependency Tree&amp;nbsp; &lt;br /&gt;and Full Calculation &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Shift+F9&lt;/td&gt;&lt;td&gt;Sheets(1).Calculate&lt;/td&gt;&lt;td&gt;Calculate Worksheet&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 38.  What does Range.Dirty used for ?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;To add the specified cells to the list of cells requiring calculation at the next recalculation.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 39.  How do you check the Calculation state ?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Pretty simply, using the Application.CalculationState property which tells if calculation has completed ( xlDone ), is pending ( xlPending) , or is in process ( xlCalculating ).&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 40.  How do you define Excel Calculation Interruption Key to stop the calculation?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Using Application.CalculationInterruptKey= XlAnyKey | XLEscKey | XlNokey.&lt;br /&gt;Remember using XlNokey, calculation cannot be interrupted.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 41.  What does 'Workbook.ForceFullCalculation' do?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;When this property is set to True, dependencies are not loaded at open, the dependency dirty chain is not updated, and every calculation of the workbook is a full calculation rather than a recalculation.&lt;br /&gt;&lt;br /&gt;If you have a workbook that has so many complex dependencies that loading the dependencies at workbook open takes a long time or recalculation takes longer than full calculation, you can use this property to force Excel to skip loading the dependencies and always use full calculation. Also if making a change to the workbook takes a long time in manual mode because of the time taken to dirty all the dependencies of the cell being changed, then setting Workbook.ForceFullCalculation to True will eliminate the delay.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Although this is a workbook property the effect is at Application level rather than workbook level.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* In Excel 2007 setting the property back to False once it has been set to True has no effect on the current Excel session.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* The property is saved and restored with the workbook.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Once this property has been set to True 'Calculate' shows in the status bar and cannot be removed by using calculation keys such as F9.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 42.  What are excel dependency tree limits?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; There are two limits to the number of dependencies that Excel versions prior to Excel 2007 can track before it must do full calculations instead of recalculations.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* The number of different areas in a sheet that may have dependencies is limited to 65,536.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* The number of cells that may depend on a single area is limited to 8K.&lt;br /&gt;After the workbook has passed these limits, Excel no longer attempts to recalculate only changed cells. Instead, it recalculates all cells at each calculation.&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 43.  Mention those conditions when status bar shows CALCULATE.&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;There are five known conditions in which the status bar will show CALCULATE:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* The Calculation Option has been set to Manual and the workbook contains uncalculated formulae. Try setting calculation to Automatic (Tools--&amp;gt;Options--&amp;gt;Calculate). Note that Excel sets the calculation mode from the first workbook opened in a session: when you open two workbooks, one saved in manual mode and one saved in automatic mode, they will both have the calculation mode of the first workbook opened.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* The Iteration Option is turned on and the workbook contains circular references. Check that turning off Iteration (Tools--&amp;gt;Options--&amp;gt;Calculation) and pressing F9 shows "Circular Reference" in the statusbar.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* You are using Excel 2000 without the SR1 update and have a user-defined function that attempts to define a name and depends on a volatile function: see MSKB Q248179&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* You have hit one of Excels limits for tracking dependencies.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* You are using Excel 2007 and have set Workbook.ForceFullCalculation to True&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 44.  What do you know about multi threaded calculation?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;Excel 2007 can split calculation across multiple processors or cores. When Excel 2007 loads a workbook, it determines from the operating system how many processors are available and then creates a separate calculation thread for each processor. These threads can then run in parallel. The beauty of this system is that it scales extremely well with the number of processors.&lt;br /&gt;&lt;br /&gt;Most workbooks show a significant improvement in calculation speed on a system with multiple cores. The degree of improvement depends on how many independent calculation trees the workbook contains. If you make a workbook that contains one continuous chain of formulas, it will not show any multithreaded calculation (MTC) performance gain, whereas a workbook that contains several independent chains of formulas will show gains close to the number of processors available.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 45.  How can we dial a phone number?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Shell command present in VBA can be used to start the dialer present in windows operating system. Phone number can be used to connect to your modem. With the use of shell and sendkeys you can dial to your user. Shell starts windows application and sendkeys inform the window to dial according to the keystrokes of the application. A macro can be used to start the cardfile program which activates the auto dialer feature.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 46.  What do you know about the interpretation features of VBA?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;VBA is licensed to Microsoft and this compatible with and only Microsoft products. Code written is compiled by an intermediate language called P-code and this is stored in hosting applications such as Excel, Word and Access. The intermediate code is interpreted by a virtual machine. This code and intermediate language is the exclusive right of Microsoft.&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 47.  Explain about insert module and Goal Seek functions present in VBA?&lt;/b&gt;&lt;/div&gt;Solution: The chief use of VBA is to make use of its special function which helps in repeated actions. Goal seek function helps to reduce manual entry of the code each and every time. This solves the problem of repeated function entry by automating functions and actions. Sub routines are inserted into the using the VBA editor and command insert module.&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 48. State the difference between Visual Basic, VB Script and Visual Basic for Applications?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution:&lt;/b&gt; Visual basic is useful if you are planning to develop your programs from scratch.This language helps you in developing Active x controls, exe files, etc.&lt;br /&gt;VB script is a powerful tool, through which you can create small scale applications on web pages, automation applications, etc. Integrated development environment is not present for VB script.&lt;br /&gt;Visual Basic for Applications are very useful in automating your existing application. VB application is useful for developing already existing applications.&lt;br /&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: blue;"&gt;&lt;b&gt;Ques 49.  Write a macro to select all the non-blank cells of Activesheet ?&lt;/b&gt;&lt;/div&gt;&lt;b&gt;Solution: &lt;/b&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;Sub&lt;/span&gt; NonBlankCells()&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; On Error Resume Next&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Union(Cells.SpecialCells(xlCellTypeFormulas, 23), Cells.SpecialCells(xlCellTypeConstants, 23)).Select&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt; If &lt;/span&gt;Err.Number &amp;lt;&amp;gt; 0&lt;span style="color: blue;"&gt; Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cells.SpecialCells(xlCellTypeFormulas, 23).Select&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Else&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If &lt;/span&gt;Err.Number &amp;lt;&amp;gt; 0 &lt;span style="color: blue;"&gt;Then&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cells.SpecialCells(xlCellTypeConstants, 23).Select&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Else&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; On Error GoTo 0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;Ques 50. What is the difference between UsedRange and CurrentRegion properties ?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;i) &lt;/b&gt;The current region is a range bounded by any combination of blank rows and blank columns. &lt;br /&gt;This property is useful for many operations that automatically expand the selection to include the entire current region, such as the AutoFormat method. This property cannot be used on a protected worksheet.&lt;br /&gt;The UsedRange property is used to select the range of used cells on a worksheet. It returns a Range object that represents the used range on the specified worksheet.&lt;br /&gt;ii) Every non-blank cell got its CurrentRegion and its keyboard shortcut is Ctrl+Shift+Spacebar.&lt;br /&gt;iii) There can be many current regions but there is only one used range in a worksheet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #6699dd; font-size: 1.3em; text-align: center;"&gt;&lt;a href="http://www.excelitems.com/2010/12/optimize-vba-code-for-faster-macros.html"&gt;&lt;b&gt;17 ways to OPTIMIZE VBA Code for FASTER Macros&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;BONUS VBA MACRO:&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/excel-2003-style-menu-in-excel-20072010.html" style="color: #6699dd;"&gt;Excel 2003 Style menu in Excel 2007 / 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #eeffff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; color: #336666; font-size: 1.2em; text-align: center;"&gt;&lt;b&gt;Are you going for an interview ?&lt;/b&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-job-interview-questions.html"&gt;3 things to remember before Excel VBA Interview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.excelitems.com/2010/12/excel-vba-interview-questions.html"&gt;50 Excel VBA Interview questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;or looking for a job ?&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://www.excelitems.com/2010/12/analyst-excel-access-sql-mis-jobs.html"&gt;Excel, Access, SQL, VBA, MIS, Reporting and Data Analysts Jobs&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;a href="http://www.excelitems.com/2010/11/shrink-reduce-excel-file-size.html"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Shrink or Reduce the size of Excel Workbook without losing data&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #ffeeff; border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-left-style: dotted; border-left-width: 2px; border-right-color: rgb(0, 0, 0); border-right-style: dotted; border-right-width: 2px; border-top-color: rgb(0, 0, 0); border-top-style: dotted; border-top-width: 2px; font-size: 1.3em; text-align: center;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Learn&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;&lt;a href="http://www.excelitems.com/2009/03/how-to-use-vlookup-function.html"&gt;VLOOKUP&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/03/using-offset-sum-match-excel-functions.html"&gt;OFFSET&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://www.excelitems.com/2011/01/custom-cell-formatting-number-date-text.html"&gt;Custom Format&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://www.excelitems.com/2010/06/array-or-cse-formulas-and-functions-in.html"&gt;Array Formula&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4740658050604206807-2932965255712114626?l=www.excelitems.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=52woy7wugOw:t4gfoL7nGGE:nQ_hWtDbxek"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=nQ_hWtDbxek" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=52woy7wugOw:t4gfoL7nGGE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=52woy7wugOw:t4gfoL7nGGE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=52woy7wugOw:t4gfoL7nGGE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=52woy7wugOw:t4gfoL7nGGE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=52woy7wugOw:t4gfoL7nGGE:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=52woy7wugOw:t4gfoL7nGGE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/excelitems?a=52woy7wugOw:t4gfoL7nGGE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/excelitems?i=52woy7wugOw:t4gfoL7nGGE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/excelitems/~4/52woy7wugOw" height="1" width="1"/&gt;</description><atom:updated xmlns:atom="http://www.w3.org/2005/Atom">2011-06-25T18:06:22.276+05:30</atom:updated><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">16</thr:total><georss:featurename xmlns:georss="http://www.georss.org/georss">United States</georss:featurename><georss:point xmlns:georss="http://www.georss.org/georss">39.38186803848672 -100.1953125</georss:point><georss:box xmlns:georss="http://www.georss.org/georss">6.24460703848672 -159.9609375 72.51912903848672 -40.4296875</georss:box><feedburner:origLink>http://www.excelitems.com/2010/12/excel-vba-interview-questions.html</feedburner:origLink></item></channel></rss>

