<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2485113794700350055</id><updated>2024-09-08T03:40:05.993-07:00</updated><category term="Access task manager without control-alt-delete"/><category term="CTRL ALT DELETE"/><category term="Computer maintenance"/><category term="Computer tips and tricks"/><category term="Create a New Partition on a Windows 7 Hard Disk"/><category term="Default passwords list"/><category term="Edit PDF files"/><category term="Error code 1603 for this component means &quot;Fatal error during installation"/><category term="Finding the sender IP address"/><category term="Finding the sender IP address in Gmail"/><category term="Finding the sender IP address in hotmail"/><category term="Finding the sender IP address in yahoo"/><category term="Google search tips"/><category term="Google tricks and Hacks"/><category term="Hiding the Last User Logged On"/><category term="How to cancel the shutdown command in windows"/><category term="How to enter the BIOS or CMOS setup"/><category term="How to export the Outlook address book"/><category term="How to replace text in multiple files"/><category term="How to run a command to a set of files"/><category term="MS acces DB errors"/><category term="Microsoft Excel"/><category term="Microsoft Outlook 2003 tips and tricks"/><category term="Nokia Secret Codes"/><category term="Protecting Yourself From Spam"/><category term="Speed up Internet Surfing"/><category term="Speed up your browsing of Windows 2000 and XP machines"/><category term="Undo"/><category term="Using Loops in VBA in Microsoft Excel"/><category term="VERY INTERESTING INTERNET TIPS"/><category term="Visual Studio error"/><category term="Windows XP System Hangs Response"/><category term="Windows tips XP hacks"/><category term="XP"/><category term="block an email address in yahoo mail"/><category term="computer beeps"/><category term="computer speed"/><category term="convert man pages to text files"/><category term="create your own google search page"/><category term="enable telnet on windows 7"/><category term="excel 2007"/><category term="execute commands at specified times"/><category term="explorer.exe trick"/><category term="how to get into safe mode windows 2000"/><category term="how to open office 2007 files into Office 2003"/><category term="keyboards shortcuts and tricks"/><category term="kill umdmgr process"/><category term="linux tips"/><category term="login and logout using the keyboard"/><category term="on screen keyboard"/><category term="or repeat an action in word 2007"/><category term="password protect excel file"/><category term="powerpoint 2007"/><category term="prevent Spam on yahoo"/><category term="protect excel sheet 2007"/><category term="redo"/><category term="secret codes for Nokia"/><category term="solaris tips"/><category term="speed up your PC"/><category term="telnet in windows 7"/><category term="umdmgr"/><category term="umdmgr.exe"/><category term="unix tips"/><category term="ways to speed up your computer"/><title type='text'>computer tips and tricks, Tips and Tricks, windows tips, خدع الكمبيوتر, أسرار الكمبيوتر</title><subtitle type='html'>computer tips and tricks, computer hacks, tips and tricks, how to, software, computer help, MS office, programming tips, أسرار الكمبيوتر, خدع الكمبيوتر</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>46</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-7931128388122372619</id><published>2012-03-02T05:54:00.002-08:00</published><updated>2012-03-02T05:57:04.650-08:00</updated><title type='text'>suddenly,no wireless access</title><content type='html'>suddenly no access to wireless network in our LAN ,my laptop is inside domain.and i am sure i didn&#39;t change my password.&lt;br /&gt;what happenned?&lt;br /&gt;remember that you are notified to change the password and you didn&#39;t !&lt;br /&gt;just changed the password and it is OK!.</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/7931128388122372619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/7931128388122372619?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7931128388122372619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7931128388122372619'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2012/03/suddenlyno-wireless-access.html' title='suddenly,no wireless access'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-8506775503058809200</id><published>2012-02-24T06:17:00.000-08:00</published><updated>2012-02-24T06:18:01.836-08:00</updated><title type='text'>Shift key and mouse click</title><content type='html'>Many text editors and programs allow you to highlight all or portions of text using the Shift key and the mouse. For example, place the cursor at the beginning of a paragraph, hold down the Shift key and click at the end of the paragraph to highlight the full paragraph.&lt;br /&gt;&lt;br /&gt;tip from computerhope.com</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/8506775503058809200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/8506775503058809200?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/8506775503058809200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/8506775503058809200'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2012/02/shift-key-and-mouse-click.html' title='Shift key and mouse click'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-7611951219302923130</id><published>2011-12-24T06:10:00.000-08:00</published><updated>2011-12-24T06:10:52.043-08:00</updated><title type='text'>Basic networking troubleshooting commands</title><content type='html'>&lt;u&gt;&lt;strong&gt;From the command prompt:&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
-&amp;nbsp;&lt;strong&gt;ipconfig&lt;/strong&gt;( &lt;strong&gt;ifconfig&lt;/strong&gt; in unix systems)&amp;nbsp;command: tells you some basic information about your computer’s network card’s configuration.(your device IP addres,gateway,...)&lt;br /&gt;
-&lt;strong&gt;Ping &lt;/strong&gt;command: check the connectivity to a destintion .&lt;br /&gt;
-&lt;strong&gt;tracert&amp;nbsp;&lt;/strong&gt; (&lt;strong&gt;traceroute&lt;/strong&gt; in unix systems)&amp;nbsp;command: shows the path your data take to reach the destination.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;From &amp;nbsp;the internet explorer &quot;tools&quot; menu&quot;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
check the proxy settings:&lt;br /&gt;
&lt;strong&gt;Tools&amp;gt;&amp;gt;Internet Options &amp;gt;&amp;gt; Connections &amp;gt;&amp;gt;LAN Settings&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div id=&quot;fancy_overlay&quot;&gt;&lt;/div&gt;&lt;div id=&quot;fancy_loading&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;fancy_outer&quot;&gt;&lt;div id=&quot;fancy_inner&quot;&gt;&lt;div id=&quot;fancy_close&quot;&gt;&lt;/div&gt;&lt;div id=&quot;fancy_bg&quot;&gt;&lt;div class=&quot;fancy_bg&quot; id=&quot;fancy_bg_n&quot;&gt;&lt;/div&gt;&lt;div class=&quot;fancy_bg&quot; id=&quot;fancy_bg_ne&quot;&gt;&lt;/div&gt;&lt;div class=&quot;fancy_bg&quot; id=&quot;fancy_bg_e&quot;&gt;&lt;/div&gt;&lt;div class=&quot;fancy_bg&quot; id=&quot;fancy_bg_se&quot;&gt;&lt;/div&gt;&lt;div class=&quot;fancy_bg&quot; id=&quot;fancy_bg_s&quot;&gt;&lt;/div&gt;&lt;div class=&quot;fancy_bg&quot; id=&quot;fancy_bg_sw&quot;&gt;&lt;/div&gt;&lt;div class=&quot;fancy_bg&quot; id=&quot;fancy_bg_w&quot;&gt;&lt;/div&gt;&lt;div class=&quot;fancy_bg&quot; id=&quot;fancy_bg_nw&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;javascript:;&quot; id=&quot;fancy_left&quot;&gt;&lt;span class=&quot;fancy_ico&quot; id=&quot;fancy_left_ico&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;javascript:;&quot; id=&quot;fancy_right&quot;&gt;&lt;span class=&quot;fancy_ico&quot; id=&quot;fancy_right_ico&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;div id=&quot;fancy_content&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;fancy_title&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;fancy_title&quot; id=&quot;fancy_title_left&quot;&gt;&lt;/td&gt;&lt;td class=&quot;fancy_title&quot; id=&quot;fancy_title_main&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;fancy_title&quot; id=&quot;fancy_title_right&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/7611951219302923130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/7611951219302923130?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7611951219302923130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7611951219302923130'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/12/basic-networking-troubleshooting.html' title='Basic networking troubleshooting commands'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-6717300013596053964</id><published>2011-11-15T03:50:00.000-08:00</published><updated>2011-11-15T03:50:23.027-08:00</updated><title type='text'>another windows tip</title><content type='html'>another windows tip&lt;br /&gt;
&lt;br /&gt;
create a new folder ,try to name it&amp;nbsp;&amp;nbsp; CON&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
what is the result , Why?&lt;br /&gt;
waiting comments!</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/6717300013596053964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/6717300013596053964?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/6717300013596053964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/6717300013596053964'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/11/another-windows-tip.html' title='another windows tip'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-3662540193514778873</id><published>2011-10-28T11:52:00.000-07:00</published><updated>2011-10-28T11:52:53.018-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Computer maintenance"/><category scheme="http://www.blogger.com/atom/ns#" term="computer speed"/><title type='text'>Computer maintenance, computer speed</title><content type='html'>Important Computer Maintenance steps :&lt;br /&gt;
&lt;br /&gt;
1- Disk Defragmentation&lt;br /&gt;
2-Scandisk&lt;br /&gt;
3-Cleaning Registry&lt;br /&gt;
4-Delete files&amp;nbsp;you do not need&lt;br /&gt;
5-Delete Temp files manually&lt;br /&gt;
6-Remove programs&amp;nbsp;you do not need&lt;br /&gt;
7- Windows Update</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/3662540193514778873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/3662540193514778873?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/3662540193514778873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/3662540193514778873'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/10/computer-maintenance-computer-speed.html' title='Computer maintenance, computer speed'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-1549378534712567815</id><published>2011-09-16T06:46:00.000-07:00</published><updated>2011-09-16T06:46:02.372-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="on screen keyboard"/><title type='text'>on screen keyboard</title><content type='html'>HI &lt;br /&gt;
new trick:&lt;br /&gt;
How to start (launch) the on screen keyboard?&lt;br /&gt;
&lt;br /&gt;
simply : go to start&amp;gt;&amp;gt;RUN and write OSK &lt;br /&gt;
&lt;br /&gt;
the on screen KB will pop up and ready to use!</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/1549378534712567815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/1549378534712567815?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/1549378534712567815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/1549378534712567815'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/09/on-screen-keyboard.html' title='on screen keyboard'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-5207817072711528070</id><published>2011-08-06T02:35:00.000-07:00</published><updated>2011-08-06T02:35:21.882-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="create your own google search page"/><category scheme="http://www.blogger.com/atom/ns#" term="VERY INTERESTING INTERNET TIPS"/><title type='text'>VERY INTERESTING INTERNET TIPS, create your own google search page</title><content type='html'>ENJOY THESE TIPS:&lt;br /&gt;
&lt;br /&gt;
1-if you like to make your name as google LOGO :&lt;br /&gt;
Go to &lt;a href=&quot;http://www.goglogo.com/&quot;&gt;http://www.goglogo.com/&lt;/a&gt;, write your name in the textbox ten make it your homepage ,congratulations ,,,you&#39;ve made your own google search page.&lt;br /&gt;
&lt;br /&gt;
2-If you like see yourseklf destroying others websites -but not actually doing so- try the below link and in the specified textbox starting with http write the target website, nice to trick your friends :):&lt;br /&gt;
&lt;a href=&quot;http://www.bored.com/destroysites/&quot; rel=&quot;nofollow&quot;&gt;&lt;span style=&quot;color: #006699;&quot;&gt;http://www.bored.com/destroysites/&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/5207817072711528070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/5207817072711528070?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/5207817072711528070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/5207817072711528070'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/08/very-interesting-internet-tips-create.html' title='VERY INTERESTING INTERNET TIPS, create your own google search page'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-7061649783167832627</id><published>2011-06-03T04:45:00.000-07:00</published><updated>2011-06-03T04:45:48.767-07:00</updated><title type='text'>Repeat the last action in Microsoft Word and Excel</title><content type='html'>Using the &lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;F4 key&lt;/span&gt;&lt;/strong&gt; in Microsoft Office 2000 and above allows the user to repeat the last used action.</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/7061649783167832627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/7061649783167832627?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7061649783167832627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7061649783167832627'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/06/repeat-last-action-in-microsoft-word.html' title='Repeat the last action in Microsoft Word and Excel'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-532404330718452954</id><published>2011-05-16T13:42:00.000-07:00</published><updated>2011-05-16T13:42:15.441-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="enable telnet on windows 7"/><category scheme="http://www.blogger.com/atom/ns#" term="telnet in windows 7"/><title type='text'>enable telnet on windows 7, telnet in windows 7</title><content type='html'>if you try using telnet on windows 7 and the commmand is not recognized, then you can turn the service on as follows:&lt;br /&gt;
&lt;br /&gt;
1-&amp;nbsp; Go to &quot;Control Panel&quot;&lt;br /&gt;
2- choose &quot;programs and features&quot;&lt;br /&gt;
3- on the left side you find an option &quot; turn windows features ON OFF&quot;&lt;br /&gt;
4- choose telnet service</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/532404330718452954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/532404330718452954?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/532404330718452954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/532404330718452954'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/05/enable-telnet-on-windows-7-telnet-in.html' title='enable telnet on windows 7, telnet in windows 7'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-1669722908443305406</id><published>2011-05-14T05:46:00.000-07:00</published><updated>2011-05-14T05:46:00.200-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="password protect excel file"/><category scheme="http://www.blogger.com/atom/ns#" term="protect excel sheet 2007"/><title type='text'>password protect excel file, protect excel sheet</title><content type='html'>when you password protect the excel file, you can do this for two options , one pasword for OPEN and one for MODIFY.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;Protecting the File&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;From the &lt;em&gt;File&lt;/em&gt; menu, select &lt;em&gt;&lt;strong&gt;Save As...&lt;/strong&gt;&lt;/em&gt;The &lt;em&gt;Save As&lt;/em&gt; dialog box appears.&lt;/li&gt;
&lt;li&gt;From the &lt;em&gt;Tools &lt;/em&gt;&lt;strong&gt;&lt;/strong&gt;pull-down list,&lt;strong&gt; &lt;/strong&gt;select &lt;strong&gt;&lt;em&gt;General Options...&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;
The &lt;em&gt;General Options&lt;/em&gt; dialog box appears. &lt;/li&gt;
&lt;li&gt;&amp;nbsp;in the&lt;em&gt; Password to open&lt;/em&gt; text box, type a&lt;em&gt;&lt;strong&gt; password&lt;/strong&gt;&lt;/em&gt; &lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;in the&lt;em&gt; Password to modify&lt;/em&gt; text box, type a &lt;em&gt;&lt;strong&gt;password&lt;/strong&gt;&lt;/em&gt; &lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;ExampleOptional&quot;&gt;OPTIONAL:&lt;/span&gt; If you&amp;nbsp; like Excel to recommend that this file be opened as a read-only file each time it is opened, select &lt;strong&gt;&lt;em&gt;Read-only recommended&lt;/em&gt; &lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;The &lt;em&gt;Confirm Password &lt;/em&gt;dialog box appears.&lt;/li&gt;
&lt;li&gt;In the &lt;em&gt;Reenter password to modify&lt;/em&gt; text box, type the&lt;em&gt;&lt;strong&gt; password(s) &lt;/strong&gt;&lt;/em&gt;in the order of the password(s) that you typed in the &lt;em&gt;Save Options &lt;/em&gt;dialog box&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;SAVE&lt;/strong&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;h3&gt;Unprotecting the File &lt;/h3&gt;If you no longer need to password-protect the file, you can remove the password.&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Open the file&lt;/li&gt;
&lt;li&gt;From the &lt;em&gt;File&lt;/em&gt; menu, select &lt;strong&gt;&lt;em&gt;Save As…&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;In the&lt;strong&gt; &lt;/strong&gt;&lt;em&gt;Save As&lt;/em&gt;&lt;strong&gt; &lt;/strong&gt;dialog box, from the &lt;em&gt;Tools &lt;/em&gt;&lt;strong&gt;&lt;/strong&gt;pull-down list, select &lt;strong&gt;&lt;em&gt;General Options...&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;In the &lt;em&gt;Password to open&lt;/em&gt; text box, select the text » press [&lt;strong&gt;Delete&lt;/strong&gt;]&lt;/li&gt;
&lt;li&gt;In the &lt;em&gt;Password to modify&lt;/em&gt; text box, select the text » press [&lt;strong&gt;Delete&lt;/strong&gt;]&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;The file is no longer password protected.&lt;/li&gt;
&lt;li&gt;To save the file, click &lt;strong&gt;SAVE&lt;/strong&gt;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/em&gt; &lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;YES &lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/1669722908443305406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/1669722908443305406?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/1669722908443305406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/1669722908443305406'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/05/password-protect-excel-file-protect.html' title='password protect excel file, protect excel sheet'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-5972935448329841821</id><published>2011-05-01T08:20:00.000-07:00</published><updated>2011-05-01T08:20:30.428-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kill umdmgr process"/><category scheme="http://www.blogger.com/atom/ns#" term="umdmgr"/><category scheme="http://www.blogger.com/atom/ns#" term="umdmgr.exe"/><title type='text'>umdmgr.exe, umdmgr, kill umdmgr process</title><content type='html'>-When i shut down the PC i see a window with title: umdmgr.exe, and it appears many times before the shut down succeed.&lt;br /&gt;
OR: my computer has UMDMGR shall i remove it?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Answer:&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
Yes, remove it, and this problem can be solved by having your antivirus and antimalware updated and performing a full scan, you should be able to remove it.&lt;br /&gt;
&lt;br /&gt;
Other Solution&lt;br /&gt;
&amp;nbsp;REMOVE IT. This is a trojan.remove it manually or with an antivirus. Here is how to do it manually. Go to My computer and double click on the c: After that you will see folders open the WINDOWS folder, now that the windows folder is open&amp;nbsp;go to &amp;nbsp;the SYSTEM32 folder, under that folder you would see the umdmgr.exe. Right click on it and remove it, and you&#39;re done.</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/5972935448329841821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/5972935448329841821?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/5972935448329841821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/5972935448329841821'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/05/umdmgrexe-umdmgr-kill-umdmgr-process.html' title='umdmgr.exe, umdmgr, kill umdmgr process'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-6082635405838412496</id><published>2011-04-09T05:02:00.000-07:00</published><updated>2011-04-09T05:02:59.810-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Speed up your browsing of Windows 2000 and XP machines"/><title type='text'>Speed up your browsing of Windows 2000 &amp; XP machines</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;u&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: small;&quot;&gt;Speed up your browsing of Windows 2000 &amp;amp; XP machines&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Here&#39;s a great tip to speed up your browsing of Windows XP machines. Its actually a fix to a bug installed as default in Windows 2000 that scans shared files for Scheduled Tasks. And it turns out that you can experience a delay as long as 30 seconds when you try to view shared files across a network because Windows 2000 is using the extra time to search the remote computer for any Scheduled Tasks. Note that though the fix is originally intended for only those affected, Windows 2000 users will experience that the actual browsing speed of both the Internet &amp;amp; Windows Explorers improve significantly after applying it since it doesn&#39;t search for Scheduled Tasks anymore. Here&#39;s how :&lt;br /&gt;
&lt;br /&gt;
Open up the Registry and go to : &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;HKEY-LOCAL-MACHINE/Software/Microsoft/Windows/Current Version/Explorer/RemoteComputer/NameSpace &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;Under that branch, select the key : &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;{D6277990-4C6A-11CF-8D87-00AA0060F5BF}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;and delete it. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;This is key that instructs Windows to search for Scheduled Tasks. If you like you may want to export the exact branch so that you can restore the key if necessary. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;This fix is so effective that it doesn&#39;t require a reboot and you can almost immediately determine yourself how much it speeds up your browsing processes. &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/6082635405838412496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/6082635405838412496?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/6082635405838412496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/6082635405838412496'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/04/speed-up-your-browsing-of-windows-2000.html' title='Speed up your browsing of Windows 2000 &amp; XP machines'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-3659439540886951447</id><published>2011-04-09T04:58:00.000-07:00</published><updated>2011-04-09T04:58:43.294-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="How to export the Outlook address book"/><title type='text'>How to export the Outlook address book</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;How to export the Outlook address book&lt;/u&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;
Looking for a way to export your Outlook Address Book to another program? Outlook 97 and Outlook 98 doesn&#39;t come with a built-in method to export the address book, but if you have Outlook Express 4.x here&#39;s an indirect method: &lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Run Outlook Express 4.x (if you don&#39;t already have it, install Explorer 4.x full version) &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Select &quot;File | Import | Address Book...&quot; from the main menu &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Select &quot;Microsoft Exchange Personal Address Book&quot; &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Click &quot;Import&quot; and click &quot;Close&quot; once the importing is completed &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;strong&gt;To export the address book&lt;/strong&gt;: &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Select &quot;File | Export | Address Book...&quot; from the main menu &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Select &quot;Text File (Comma Separated Values)&quot; &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Click &quot;Export&quot; &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Type a file name in the &quot;Save exported file as&quot; input box. &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;dl&gt;&lt;dd&gt;For example type, &quot;C:\MYADRBOK.CSV&quot;&lt;/dd&gt;&lt;/dl&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Click &quot;Next&quot; &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Optionally select the fields you wish to export and click &quot;Finish&quot; &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Click &quot;Close&quot; once the exporting is completed &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;You&#39;re now ready to import the newly exported Outlook address book (&lt;strong&gt;C:\MYADRBOK.CSV&lt;/strong&gt; file for example) into the program you were trying to export to. CSV (comma separated values) text files are supported by almost all programs with the ability to import information from external programs. Refer to the documentation for further instructions.</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/3659439540886951447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/3659439540886951447?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/3659439540886951447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/3659439540886951447'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/04/how-to-export-outlook-address-book.html' title='How to export the Outlook address book'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-2401912124596468892</id><published>2011-03-25T07:51:00.000-07:00</published><updated>2011-03-25T07:51:15.733-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Outlook 2003 tips and tricks"/><title type='text'>Microsoft Outlook 2003 tips and tricks</title><content type='html'>&lt;span style=&quot;color: black;&quot;&gt;&lt;u&gt;&lt;strong&gt;&amp;nbsp;Microsoft Outlook 2003 tips and tricks:&lt;/strong&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;&amp;nbsp;&lt;/h2&gt;&lt;ul class=&quot;cntIndent36&quot; type=&quot;disc&quot;&gt;&lt;li&gt;&lt;b class=&quot;runinhead&quot;&gt;Set a reminder to reply to a message&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Right-click the message you want to set the reminder for, point to &lt;b class=&quot;ui&quot;&gt;Follow Up&lt;/b&gt;, and then click &lt;b class=&quot;ui&quot;&gt;Add Reminder&lt;/b&gt;. In the &lt;b class=&quot;ui&quot;&gt;Due By&lt;/b&gt; list, click the date when you have to complete the reply. In the second list, click a time. In the &lt;b class=&quot;ui&quot;&gt;Flag color&lt;/b&gt; list, click the flag color you want, and then click &lt;b class=&quot;ui&quot;&gt;OK&lt;/b&gt;. &lt;/li&gt;
&lt;li&gt;&lt;b class=&quot;runinhead&quot;&gt;Add your own words to a follow-up flag for a new message&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Click the &lt;b class=&quot;ui&quot;&gt;Message Flag&lt;/b&gt; button and then type the text you want in the &lt;b class=&quot;ui&quot;&gt;Flag to&lt;/b&gt; box. &lt;/li&gt;
&lt;li&gt;&lt;b class=&quot;runinhead&quot;&gt;Send a message to multiple people without revealing other recipients&#39; identities&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;To send a message to someone without other recipients of the message knowing, use the &lt;b class=&quot;ui&quot;&gt;Bcc&lt;/b&gt; line in the message. Bcc stands for blind carbon copy. If you add someone&#39;s name to the &lt;b class=&quot;ui&quot;&gt;Bcc&lt;/b&gt; line, a copy of the message is sent to that person, but his or her name is not visible to other recipients. &lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/2401912124596468892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/2401912124596468892?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/2401912124596468892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/2401912124596468892'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/03/microsoft-outlook-2003-tips-and-tricks.html' title='Microsoft Outlook 2003 tips and tricks'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-6276084146578519883</id><published>2011-03-12T01:06:00.000-08:00</published><updated>2011-03-12T02:44:22.648-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="block an email address in yahoo mail"/><category scheme="http://www.blogger.com/atom/ns#" term="prevent Spam on yahoo"/><category scheme="http://www.blogger.com/atom/ns#" term="Protecting Yourself From Spam"/><title type='text'>Protecting Yourself From Spam, block an email address in yahoo mail, prevent Spam on yahoo</title><content type='html'>&lt;strong&gt;Protecting Yourself From Spam, block an email address in yahoo mail, prevent Spam on yahoo:&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Here is how to do it&amp;nbsp;:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;-In the upper-right corner of your Yahoo! Mail page, click the Options link, then select Mail Options from the menu.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;-Click the Spam link .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;-In the Add a blocked address box, type the email address you want to block, then click the Add button.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;Note:To block email messages from the whole domain (ex: &lt;i&gt;baddomain.com&lt;/i&gt;), type the domain in this box.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;-To remove or unblock an address or domain from your list, select the entry to remove, then click the Remove button.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;Enjoy!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/6276084146578519883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/6276084146578519883?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/6276084146578519883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/6276084146578519883'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/03/protecting-yourself-from-spam-block.html' title='Protecting Yourself From Spam, block an email address in yahoo mail, prevent Spam on yahoo'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-7896284844719133024</id><published>2011-03-12T00:56:00.000-08:00</published><updated>2011-03-12T02:44:45.362-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nokia Secret Codes"/><category scheme="http://www.blogger.com/atom/ns#" term="secret codes for Nokia"/><title type='text'>Nokia Secret Codes, secret codes for Nokia</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Nokia Secret Codes:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;post-header-line-1&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;*#06# For checking the IMEI(international Mobile Equipment Identity)&lt;br /&gt;
*#7780# Reset to factory&amp;nbsp;defaults&lt;br /&gt;
&amp;nbsp;*#0000# To view software version&lt;br /&gt;
&amp;nbsp;*#2820# the Bluetooth device address&lt;br /&gt;
&amp;nbsp;*#746025625# Sim clock allowed status&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: small;&quot;&gt;#PW+1234567890+1# = GIVES PROVIDER-LOCK STATUS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: small;&quot;&gt;#PW+1234567890+2# = GIVES NETWORK-LOCK STATUS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: small;&quot;&gt;#PW+1234567890+3# = GIVES COUNTRY-LOCK STATUS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: small;&quot;&gt;#PW+1234567890+4# = GIVES SIM-CARD-LOCK STATUS.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;line-height: 100%; margin-bottom: 0px; margin-top: 0px; text-align: left; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: small;&quot;&gt;*#92702689# (*#WAR0ANTY#)&amp;nbsp; to enter the service menu type-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;line-height: 100%; margin-bottom: 0px; margin-top: 0px; text-align: left; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; style=&quot;line-height: 100%; margin-bottom: 0px; margin-top: 0px; text-align: left; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;Enjoy!&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/7896284844719133024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/7896284844719133024?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7896284844719133024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7896284844719133024'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/03/nokia-secret-codes-secret-codes-for.html' title='Nokia Secret Codes, secret codes for Nokia'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-7556364538170297314</id><published>2011-03-05T02:45:00.000-08:00</published><updated>2011-03-05T02:45:46.124-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Speed up Internet Surfing"/><title type='text'>Speed up Internet Surfing</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;u&gt;&lt;strong&gt;Speed up Internet Surfing&lt;/strong&gt;&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
You&amp;nbsp;can increase the speed&amp;nbsp;for surfing&amp;nbsp;the&amp;nbsp;internet in several way but&amp;nbsp; i want to mention the following easy way. The&amp;nbsp;Windows XP&amp;nbsp;normally limit the internet speed by&amp;nbsp;reserving a part of bandwidth. In this easy way I just&amp;nbsp;only&amp;nbsp;change&amp;nbsp;the Bandwidth Limit value&amp;nbsp;to&amp;nbsp;zero.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Go to Start &amp;gt; Run.&lt;/li&gt;
&lt;li&gt;Type gpedit.msc then click OK. Windows XP will lead you to Group Policy page.&lt;/li&gt;
&lt;li&gt;In your left hand of the page, click on Administrative Templates which is under Computer Configuration.&lt;/li&gt;
&lt;li&gt;Double click Network which is in the right hand of the page.&lt;/li&gt;
&lt;li&gt;Double click QoS Packet Scheduler.&lt;/li&gt;
&lt;/ul&gt;&lt;span id=&quot;more-349&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Double click Limit reservable bandwidth.&lt;/li&gt;
&lt;li&gt;Select&amp;nbsp;the Enabled option.&lt;/li&gt;
&lt;li&gt;Now you are able to see the message Bandwidth Limit (%): . In this box let you change the value to zero and then click OK.&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/7556364538170297314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/7556364538170297314?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7556364538170297314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7556364538170297314'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/03/speed-up-internet-surfing.html' title='Speed up Internet Surfing'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-2479033418099859053</id><published>2011-03-05T02:41:00.000-08:00</published><updated>2011-03-05T02:47:03.331-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Finding the sender IP address"/><category scheme="http://www.blogger.com/atom/ns#" term="Finding the sender IP address in Gmail"/><category scheme="http://www.blogger.com/atom/ns#" term="Finding the sender IP address in hotmail"/><category scheme="http://www.blogger.com/atom/ns#" term="Finding the sender IP address in yahoo"/><title type='text'>Finding the sender IP address, yahoo, hotmail, Gmail</title><content type='html'>&lt;div sizcache=&quot;4&quot; sizset=&quot;25&quot;&gt;&lt;strong&gt;&lt;u&gt;1-Finding the sender IP address(HOTMAIL)&lt;/u&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div sizcache=&quot;4&quot; sizset=&quot;25&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div sizcache=&quot;4&quot; sizset=&quot;25&quot;&gt;-Log into your Hotmail account with your username and password.&lt;br /&gt;
-&amp;nbsp;Click on the Mail tab on the top.&lt;br /&gt;
-&lt;span style=&quot;color: black;&quot;&gt;Open&lt;/span&gt; the mail.&lt;br /&gt;
-If you do not see the headers above the mail message, your headers are not displayed . To display the headers,&lt;/div&gt;* Click on Options on the top-right corner&lt;br /&gt;
* In the Mail Options page, click on Mail Display Settings&lt;br /&gt;
* In Message Headers, make sure Advanced option is checked.&lt;br /&gt;
* Click on Ok button&lt;br /&gt;
&lt;span id=&quot;more-480&quot;&gt;&lt;/span&gt;&lt;br /&gt;
* Go back to the mails and open that mail.&lt;br /&gt;
-&amp;nbsp;If you find a header with X-Originating-IP: followed by an IP address, that is the sender’s IP address&lt;br /&gt;
* Hotmail headers : Daniel ,In this case the IP address of the sender is [68.34.60.59]. This is be the IP address of the sender.&lt;br /&gt;
-&amp;nbsp;If you find a header with Received: from followed by a Gmail proxy like this&lt;br /&gt;
* Hotmail headers : Daniel&lt;br /&gt;
* Look for Received: from followed by IP address within square brackets[]. In this case, the IP address of the sender is [69.140.7.58].&lt;br /&gt;
-Or else if you have headers like this&lt;br /&gt;
* Hotmail headers : Daniel&lt;br /&gt;
* Look for Received: from followed by IP address within square brackets[].&lt;br /&gt;
In this case, the IP address of the sender is [61.83.145.129] .&lt;br /&gt;
-If you have multiple Received: from headers, eliminate the ones that have proxy.anyknownserver.com.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;2-Finding IP Address of the sender in Yahoo Mail&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
-&amp;nbsp;Log into your Yahoo! mail with your username and password&lt;br /&gt;
-&amp;nbsp;Click on Inbox or whichever folder you have stored your mail.&lt;br /&gt;
-Open the mail.&lt;br /&gt;
-If you do not see the headers above the mail message, your headers are not displayed . To display the headers,&lt;br /&gt;
* Click on Options on the top-right corner&lt;br /&gt;
* In the Mail Options page, click on General Preferences&lt;br /&gt;
* Scroll down to Messages where you have the Headers option&lt;br /&gt;
* Make sure that Show all headers on incoming messages is selected&lt;br /&gt;
* Click on the Save button&lt;br /&gt;
* Go back to the mails and open that mail.&lt;br /&gt;
-&amp;nbsp;You should see similar headers like this:&lt;br /&gt;
* Yahoo! headers : Daniel.&lt;br /&gt;
-&amp;nbsp;Look for Received: from followed by the IP address between square brackets [ ]. Here, it is 202.65.138.109.&lt;br /&gt;
-&amp;nbsp;That is be the IP address of the sender!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;3-Finding IP Address of the sender in Gmail&lt;/u&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
When you receive an email, you receive more than just the message. The email comes with headers that carry important information that can tell where the email was sent from and possibly who sent it. For that, you would need to find the IP address of the sender. The tutorial below can help you find the IP address of the sender.&lt;br /&gt;
* Log into your Gmail account with your username and password.&lt;br /&gt;
* Open the mail.&lt;br /&gt;
* To display the headers,&lt;br /&gt;
o Click on More options corresponding to that thread. You should get a bunch of links. Click on Show original&lt;br /&gt;
* You should get headers like this:&lt;br /&gt;
o Gmail headers : xyzw&lt;br /&gt;
* Look for Received: from followed by a few hostnames and an IP address between square brackets. In this case, it is A.B.C.D&lt;br /&gt;
* That is be the IP address of the sender!!</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/2479033418099859053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/2479033418099859053?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/2479033418099859053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/2479033418099859053'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/03/finding-sender-ip-address-yahoo-hotmail.html' title='Finding the sender IP address, yahoo, hotmail, Gmail'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-6252874997494765824</id><published>2011-02-19T08:31:00.000-08:00</published><updated>2011-02-19T08:31:05.781-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="convert man pages to text files"/><category scheme="http://www.blogger.com/atom/ns#" term="execute commands at specified times"/><category scheme="http://www.blogger.com/atom/ns#" term="How to replace text in multiple files"/><category scheme="http://www.blogger.com/atom/ns#" term="How to run a command to a set of files"/><category scheme="http://www.blogger.com/atom/ns#" term="linux tips"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris tips"/><category scheme="http://www.blogger.com/atom/ns#" term="unix tips"/><title type='text'>unix tips, convert man pages to text files, linux tips, solaris tips, How to replace text in multiple files, execute commands at specified times</title><content type='html'>&amp;nbsp;Hi &lt;br /&gt;
Below some important general unix tips:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;How to run a command to a set of files (The while read command can handle names with spaces but you need to quote the variable after): &lt;pre&gt;[unix]$ for i in `ls *mp3`; do cp $i $i.bak; done&lt;/pre&gt;&lt;pre&gt;[unix]$ ls *mp3 | while read i; do cp &quot;$i&quot; &quot;$i with more spaces&quot;; done&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to rename part of a file: &lt;pre&gt;[unix]$ echo filename | sed &#39;s/file/another/&#39;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to replace text in multiple files: &lt;pre&gt;[unix]$ sed -e &#39;s/oldtext/newtext/&#39; -i file1 file2 file3 ...&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to delete lines matching a pattern in some files: &lt;pre&gt;[unix]$ sed -e &#39;/pattern/ d&#39; -i file1 file2 file3 ...&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to change all letters to lowercase: &lt;pre&gt;[unix]$ echo FilENamE | tr A-Z a-z&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;A good way to change all filenames in a directory to lowercase:&lt;br /&gt;
This handles a colored ls (hence the quotes around ls, but you can use any file list output, i.e. find) and names with spaces (hence the while read and not the for). &lt;pre&gt;[unix]$ &quot;ls&quot; | while read name; do mv &quot;$name&quot; &quot;`echo $name | tr A-Z a-z`&quot;; done&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to convert man pages to text files: &lt;pre&gt;[unix]$ man man | col -b&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to list all the open ports and programs: &lt;pre&gt;[linux]$ netstat -apne --inet
[freebsd]$ sockstat&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to list all the open files and programs: &lt;pre&gt;[linux]$ lsof
[freebsd]$ fstat&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to find information about an ip (i.e. 10.0.0.0): &lt;pre&gt;[unix]$ host 10.0.0.0
[unix]$ dig -x 10.0.0.0&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to find information about an ip owner (i.e. 10.0.0.0): &lt;pre&gt;[unix]$ whois -h whois.arin.net 10.0.0.0&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to find out the mailserver for an ip: &lt;pre&gt;[unix]$ dig mx some.domain.name.net&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;How to generate a filename with yesterdays date (i.e. for logfiles/backups): &lt;pre&gt;[linux]$ touch logfile-`date -dyesterday &#39;+%Y-%m-%d&#39;`
[freebsd]$ touch logfile-`date -v-1d &#39;+%Y-%m-%d&#39;`

&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;Commands/options you should know about, read the man pages &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;tail - display the end of a file &lt;/li&gt;
&lt;li&gt;head - display the beggining of a file &lt;/li&gt;
&lt;li&gt;xargs - convert stdin to command line arguments &lt;/li&gt;
&lt;li&gt;nmap - network scanner &lt;/li&gt;
&lt;li&gt;watch (linux) - run a command periodically and watch the output &lt;/li&gt;
&lt;li&gt;watch (freebsd) - monitor a tty &lt;/li&gt;
&lt;li&gt;lsof - lists the open files &lt;/li&gt;
&lt;li&gt;strace (linux) - trace the system calls of a program &lt;/li&gt;
&lt;li&gt;truss (freebsd) - trace the system calls of a program &lt;/li&gt;
&lt;li&gt;calc - command line calculator program &lt;/li&gt;
&lt;li&gt;bc - another command line calculator program &lt;/li&gt;
&lt;li&gt;dc - command line RPN calculator program &lt;/li&gt;
&lt;li&gt;du - how much disk space is being used by something &lt;/li&gt;
&lt;li&gt;df - disk free, how much free space there is &lt;/li&gt;
&lt;li&gt;touch - creates an epty file or updates the timestamp on a file &lt;/li&gt;
&lt;li&gt;diff - show the difference between 2 files &lt;/li&gt;
&lt;li&gt;strings - show the strings in a file (useful for binaries) &lt;/li&gt;
&lt;li&gt;file - tells you what type a file is &lt;/li&gt;
&lt;li&gt;finger - find out information about users &lt;/li&gt;
&lt;li&gt;w / who - who is currently on the machine and what are they doing &lt;/li&gt;
&lt;li&gt;id - tells you who you are &lt;/li&gt;
&lt;li&gt;uname - tells you basic information about the system. &lt;/li&gt;
&lt;li&gt;whois - information about hosts &lt;/li&gt;
&lt;li&gt;crontab - execute commands at specified times &lt;/li&gt;
&lt;li&gt;last - last users to log into the system &lt;/li&gt;
&lt;li&gt;mail - very basic mailer, useful for redirection &lt;/li&gt;
&lt;li&gt;nice/renice - set the niceness (&quot;priority&quot;) level of a program &lt;/li&gt;
&lt;li&gt;nohup - leave a program running after logging off &lt;/li&gt;
&lt;li&gt;screen - virtual terminal for leaving programs running &lt;/li&gt;
&lt;li&gt;psnup - print multiple pages in one page &lt;/li&gt;
&lt;li&gt;time - time the execution of a command &lt;/li&gt;
&lt;li&gt;wc - word count, tells you the size in bytes, words and lines &lt;/li&gt;
&lt;li&gt;which / whereis - locates commands &lt;/li&gt;
&lt;li&gt;locate - locates files &lt;/li&gt;
&lt;li&gt;whatis - gives brief summary of a comm &lt;/li&gt;
&lt;li&gt;and &lt;/li&gt;
&lt;li&gt;wget / fetch - get files off the net &lt;/li&gt;
&lt;li&gt;talk - chat with other users on the system &lt;/li&gt;
&lt;li&gt;write / wall - send messages to users of the system &lt;/li&gt;
&lt;li&gt;zcat - cat gzipped files &lt;/li&gt;
&lt;li&gt;ln - link files &lt;/li&gt;
&lt;li&gt;sleep - wait a specified amount of time &lt;/li&gt;
&lt;li&gt;md5sum (linux) - calculate the md5 signature of a file &lt;/li&gt;
&lt;li&gt;md5 (freebsd) - calculate the md5 signature of a file &lt;/li&gt;
&lt;li&gt;enscript - convert text files to ps &lt;/li&gt;
&lt;li&gt;awk, sed - useful scripting programs &lt;/li&gt;
&lt;li&gt;cat, echo, more/less, find, grep - you need to know these, it&#39;s not an option. &lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
Resource: &lt;a href=&quot;http://sluglug.ucsc.edu/~isolis/knowledge/unix-tips/&quot;&gt;http://sluglug.ucsc.edu/~isolis/knowledge/unix-tips/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/6252874997494765824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/6252874997494765824?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/6252874997494765824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/6252874997494765824'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/02/unix-tips-convert-man-pages-to-text.html' title='unix tips, convert man pages to text files, linux tips, solaris tips, How to replace text in multiple files, execute commands at specified times'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-7556565150528717565</id><published>2011-02-11T11:44:00.000-08:00</published><updated>2011-02-11T11:44:44.866-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access task manager without control-alt-delete"/><category scheme="http://www.blogger.com/atom/ns#" term="CTRL ALT DELETE"/><title type='text'>Access task manager without control-alt-delete</title><content type='html'>&lt;u&gt;&lt;strong&gt;&amp;nbsp;Problem:&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
How to access task manager without control-alt-delete:&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;solution:&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
1-Option1:&lt;br /&gt;
&amp;nbsp;right click on an empty area of your taskbar, and clicking on &quot;Task Manager&quot;.&lt;br /&gt;
&lt;br /&gt;
2-Option2:&lt;br /&gt;
Use the key combination:&amp;nbsp;&amp;nbsp; Ctrl+Shift+Esc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I hope this helps...</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/7556565150528717565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/7556565150528717565?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7556565150528717565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7556565150528717565'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/02/access-task-manager-without-control-alt.html' title='Access task manager without control-alt-delete'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-7805804038047801065</id><published>2011-02-11T11:31:00.000-08:00</published><updated>2011-02-11T11:45:13.104-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Excel"/><title type='text'>MS Excel adding problem, MS excel Summation problem</title><content type='html'>Hi and welcome to the new Tip:&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Problem:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
One of my friends asked me &quot;When i tried to add numbers like 1,2 and 5,5 i get an error message and icannot do it&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
use the dot instead of the comma&amp;nbsp; . instead of ,&amp;nbsp; like this:&lt;br /&gt;
1.2+5.5&amp;nbsp; iinstead of 1,2 +5,5&lt;br /&gt;
================================================&lt;br /&gt;
&lt;br /&gt;
Wrong form:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdok1ngM8VSw4jeXcrnBfPrikcR3KlSiB7ALel4pm8MAjFPvJtqcZhQecWqBOfvwEmghjPxOb0PbMMUPRfNEJ-6AEcbm9QpPa-0K4S-ZiUVEFYMCcElN1NVdholC49SMtPYSwT5Kem-J1w/s1600/excel-error.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; h5=&quot;true&quot; height=&quot;134&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdok1ngM8VSw4jeXcrnBfPrikcR3KlSiB7ALel4pm8MAjFPvJtqcZhQecWqBOfvwEmghjPxOb0PbMMUPRfNEJ-6AEcbm9QpPa-0K4S-ZiUVEFYMCcElN1NVdholC49SMtPYSwT5Kem-J1w/s320/excel-error.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;correct form:&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmVd4EhZ4Vxn0hZp6aXulQUZvzFgw5pgVD0OQH9EDV2vFB0V9wtkLoXzo3NopZwO6zFc_H6DW50tUQ1geBUmlewfeCKSKW3rFse0z_YLijbLIB7z8wUaY_TKCMYfbnikfPfunP_npBtFAm/s1600/excel.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; h5=&quot;true&quot; height=&quot;163&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmVd4EhZ4Vxn0hZp6aXulQUZvzFgw5pgVD0OQH9EDV2vFB0V9wtkLoXzo3NopZwO6zFc_H6DW50tUQ1geBUmlewfeCKSKW3rFse0z_YLijbLIB7z8wUaY_TKCMYfbnikfPfunP_npBtFAm/s320/excel.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/7805804038047801065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/7805804038047801065?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7805804038047801065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/7805804038047801065'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/02/ms-excel-adding-problem-ms-excel.html' title='MS Excel adding problem, MS excel Summation problem'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdok1ngM8VSw4jeXcrnBfPrikcR3KlSiB7ALel4pm8MAjFPvJtqcZhQecWqBOfvwEmghjPxOb0PbMMUPRfNEJ-6AEcbm9QpPa-0K4S-ZiUVEFYMCcElN1NVdholC49SMtPYSwT5Kem-J1w/s72-c/excel-error.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-1133593249127851806</id><published>2011-02-11T11:19:00.000-08:00</published><updated>2011-02-11T11:49:21.709-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Error code 1603 for this component means &quot;Fatal error during installation"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio error"/><title type='text'>fatal error 1603, excel error, Visual studio.net 2005 toolbox</title><content type='html'>1-&lt;strong&gt;&lt;u&gt;Problem:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span name=&quot;subject&quot;&gt;Visual Studio 2005 -- Error code 1603 for this component means &quot;Fatal error during installation:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span name=&quot;subject&quot;&gt;&lt;strong&gt;&lt;u&gt;example error:&lt;/u&gt;&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span name=&quot;subject&quot;&gt;[08/08/07,12:28:44] Microsoft Document Explorer 2005: [2] Error code 1603 for this component means &quot;Fatal error during installation.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span name=&quot;subject&quot;&gt;&lt;span name=&quot;subject&quot;&gt;&lt;strong&gt;&lt;u&gt;solution:&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span name=&quot;subject&quot;&gt;&lt;span name=&quot;subject&quot;&gt;&lt;strong&gt;according to my case: i installed previously the Visual studio 2008 and uninstalled it. when i tried to install VS2005 the error 1603 &quot;Fatal error&quot; appeared. i removed all related files of the previous installation using &quot;Add/Remove programs&quot;. and then i installed it successfully.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span name=&quot;subject&quot;&gt;&lt;span name=&quot;subject&quot;&gt;&lt;strong&gt;i found alot of other solutions ,it seeems for different-but related problems-, i mentioned them below:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span name=&quot;subject&quot;&gt;&lt;span name=&quot;subject&quot;&gt;&lt;a href=&quot;http://support.microsoft.com/kb/834484&quot;&gt;http://support.microsoft.com/kb/834484&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span name=&quot;subject&quot;&gt;&lt;span name=&quot;subject&quot;&gt;&lt;a href=&quot;http://support.microsoft.com/kb/968749&quot;&gt;http://support.microsoft.com/kb/968749&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/1133593249127851806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/1133593249127851806?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/1133593249127851806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/1133593249127851806'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/02/fatal-error-1603-excel-error-visual.html' title='fatal error 1603, excel error, Visual studio.net 2005 toolbox'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-4793849719920189901</id><published>2011-01-12T23:39:00.000-08:00</published><updated>2011-01-12T23:39:42.316-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="explorer.exe trick"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows XP System Hangs Response"/><title type='text'>Windows XP System Hangs Response , explorer.exe hack</title><content type='html'>This trick is important when you don&#39;t like to reboot your computer when it hangs, you can follow these simple steps to &#39;reboot&#39; your computer without &#39;rebooting&#39; it.&lt;br /&gt;
&lt;br /&gt;
Press CRTL + ALT + DEL&lt;br /&gt;
&lt;br /&gt;
Goto the &#39;processes&#39; tab and click explorer.exe once and then click &#39;end process&#39;.&lt;br /&gt;
&lt;br /&gt;
Now, click File &amp;gt; New Task and type explorer.exe&lt;br /&gt;
&lt;br /&gt;
then you will &amp;nbsp;see to the normal behaviour again. except if it is a major problem that needs restart.</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/4793849719920189901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/4793849719920189901?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/4793849719920189901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/4793849719920189901'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/01/windows-xp-system-hangs-response.html' title='Windows XP System Hangs Response , explorer.exe hack'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-3324120079766034289</id><published>2011-01-08T07:05:00.001-08:00</published><updated>2011-01-08T07:05:35.373-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="how to open office 2007 files into Office 2003"/><title type='text'>how to open office 2007 files into Office 2003</title><content type='html'>&lt;span style=&quot;color: #990000;&quot;&gt;how to open office 2007 files into Office 2003&lt;/span&gt; &lt;br /&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; text-decoration: none;&quot;&gt;&lt;span style=&quot;font-size: 10pt; text-decoration: none;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial,sans-serif;&quot;&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&amp;amp;displaylang=en&quot;&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&amp;amp;displaylang=en&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial,sans-serif;&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial,sans-serif;&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Arial,sans-serif;&quot;&gt;TIP takem from:tricksystem.com&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Arial&#39;,&#39;sans-serif&#39;; font-size: 10pt; line-height: 115%;&quot;&gt;Today tip will help you to resolve the compatibility issues between the Office 2003 and Office 2007. Because all programs in office 2003 used the old file extensions for its different programs.&amp;nbsp; For example Word 2003 saved files with extension .doc, Excel 2003 with .xls and PowerPoint with .ppt. but on the other office 2007 used the new file extensions for its different programs.&amp;nbsp; For example Word 2007 saved files with extension .docx, Excel 2007 with .xlsx and PowerPoint with .pptx. Now the problem is that when you will try to open office 2007 files into office 2003 and you will not open the file due to compatibility issues between both office versions.&amp;nbsp; Microsoft provides a free compatibility pack to convert office 2007 documents to the office 2003 format. There are many third party free converter are available but here we are using Microsoft office compatibility pack.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin: 12pt -1in 0pt 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &#39;Arial&#39;,&#39;sans-serif&#39;; font-size: 10pt;&quot;&gt;Follow the given steps to download free Microsoft compatibility pack and install it.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin: 12pt -1in 0pt 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &#39;Arial&#39;,&#39;sans-serif&#39;; font-size: 10pt;&quot;&gt;To use this feature, you will need to be logged into your computer with administrative rights.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Arial&#39;,&#39;sans-serif&#39;; font-size: 10pt; line-height: 115%;&quot;&gt;Visit the following link to download the &lt;span style=&quot;color: black;&quot;&gt;Microsoft compatibility pack:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/3324120079766034289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/3324120079766034289?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/3324120079766034289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/3324120079766034289'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/01/how-to-open-office-2007-files-into.html' title='how to open office 2007 files into Office 2003'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2485113794700350055.post-8751199843120064054</id><published>2011-01-08T07:03:00.000-08:00</published><updated>2011-01-08T07:03:16.593-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Using Loops in VBA in Microsoft Excel"/><title type='text'>Using Loops in VBA in Microsoft Excel</title><content type='html'>taken from: exceltip.com&lt;br /&gt;
&lt;h1&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Why Loops?&lt;/span&gt;&lt;/h1&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;The purpose of a loop is to get Excel to repeat a piece of code a certain number of times. How many times the code gets repeated can be specified as a fixed number (e.g. do this 10 times), or as a variable (e.g. do this for as many times as there are rows of data).&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Loops can be constructed many different ways to suit different circumstances. Often the same result can be obtained in different ways to suit your personal preferences. These exercises demonstrate a selection of different ways to use loops.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;There are two basic kinds of loops, both of which are demonstrated here: &lt;b&gt;Do…Loop&lt;/b&gt; and &lt;b&gt;For…Next&lt;/b&gt; loops. The code to be repeated is placed between the key words.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Open the workbook &lt;b&gt;VBA02-Loops.xls&lt;/b&gt; and take a look at the four worksheets. Each contains two columns of numbers (columns A and B). The requirement is to calculate an average for the numbers in each row using a VBA macro. &lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Now open the Visual Basic Editor (&lt;b&gt;Alt+F11&lt;/b&gt;) and take a look at the code in &lt;i&gt;Module1&lt;/i&gt;.&amp;nbsp; You will see a number of different macros. In the following exercises, first run the macro then come and read the code and figure out how it did what it did.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;You can run the macros either from the Visual Basic Editor by placing your cursor in the macro and pressing the &lt;b&gt;F5 &lt;/b&gt;key, or from Excel by opening the Macros dialog box (&lt;b&gt;ALT+F8&lt;/b&gt;) choosing the macro to run and clicking &lt;b&gt;Run&lt;/b&gt;. It is best to run these macros from Excel so you can watch them as they work.&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Exercise 1: Do… Loop Until…&lt;/span&gt;&lt;/h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;The object of this macro is to run down column C as far as is necessary putting a calculation in each cell as far as is necessary.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;On &lt;b&gt;Sheet1 &lt;/b&gt;select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop1&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Here&#39;s the code:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Loop1()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; This loop runs until there is nothing in the next column&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.FormulaR1C1 = &quot;=Average(RC[-1],RC[-2])&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(1, 0).Select&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Loop Until&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell.Offset(0, 1))&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;This macro places a formula into the active cell, and moves into the next cell down. It uses &lt;b&gt;Loop Until&lt;/b&gt; to tell Excel to keep repeating the code &lt;i&gt;until&lt;/i&gt; the cell in the adjacent column (column D) is empty. In other words, it will keep on repeating as long as there is something in column D.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Delete the data from cells &lt;b&gt;C2:C20&lt;/b&gt; and ready for the next exercise&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Exercise 2: Do While… Loop&lt;/span&gt;&lt;/h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;The object of this macro is to run down column C as far as is necessary putting a calculation in each cell as far as is necessary.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;On &lt;b&gt;Sheet1 &lt;/b&gt;select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop2&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Here&#39;s the code&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Loop2()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; This loop runs as long as there is something in the next column&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Do While&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell.Offset(0, 1)) = &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;False&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.FormulaR1C1 = &quot;=Average(RC[-1],RC[-2])&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(1, 0).Select&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Loop&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;This macro does the same job as the last one using the same parameters but simply expressing them in a different way. Instead of repeating the code &lt;i&gt;Until&lt;/i&gt; something occurs, it does something &lt;i&gt;While&lt;/i&gt; something is the case. It uses &lt;b&gt;Do&amp;nbsp;While&lt;/b&gt; to tell Excel to keep repeating the code &lt;i&gt;while&lt;/i&gt; there is something in the adjacent column as opposed to &lt;i&gt;until&lt;/i&gt; there is nothing there. The function &lt;b&gt;IsEmpty = False&lt;/b&gt; means &quot;Is Not Empty&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Delete the data from cells &lt;b&gt;C2:C20&lt;/b&gt; and ready for the next exercise&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Exercise 3: Do While Not… Loop&lt;/span&gt;&lt;/h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;The object of this macro is to run down column C as far as is necessary putting a calculation in each cell as far as is necessary.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;On &lt;b&gt;Sheet1 &lt;/b&gt;select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop3&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Here&#39;s the code:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Loop3()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; This loop runs as long as there is something in the next column&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Do While Not&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell.Offset(0, 1))&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.FormulaR1C1 = &quot;=Average(RC[-1],RC[-2])&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(1, 0).Select&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loop&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;This macro makes exactly the same decision as the last one but just expresses it in a different way. &lt;b&gt;IsEmpty = False&lt;/b&gt; means the same as &lt;b&gt;Not IsEmpty&lt;/b&gt;. Sometimes you can&#39;t say what you want to say one way so VBA often offers an alternative syntax.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Delete the data from cells &lt;b&gt;C2:C20&lt;/b&gt; and ready for the next exercise&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Exercise 4: Including an IF statement&lt;/span&gt;&lt;/h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;The object of this macro is as before, but without replacing any data that may already be there.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Move to &lt;b&gt;Sheet2&lt;/b&gt;, select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop4&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Here&#39;s the code:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Loop4()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; This loop runs as long as there is something in the next column&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; It does not calculate an average if there is already something in the&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; cell&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;If&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell) &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.FormulaR1C1 = &quot;=Average(RC[-1],RC[-2])&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(1, 0).Select&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Loop Until&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell.Offset(0, 1))&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;The previous macros take no account of any possible contents that might already be in the cells into which it is placing the calculations. This macro uses an IF statement that tells Excel to write the calculation &lt;i&gt;only if&lt;/i&gt; the cell is empty. This prevents any existing data from being overwritten. The line telling Excel to move to the next cell is &lt;i&gt;outside&lt;/i&gt; the IF statement because it has to do that anyway.&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Exercise 5: Avoiding Errors&lt;/span&gt;&lt;/h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;This macro takes the IF statement a stage further, and doesn&#39;t try to calculate an average of cells that are empty. &lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;First, look at the problem. Move to &lt;b&gt;Sheet3&lt;/b&gt;, select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop4&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Note that because some of the pairs of cells in columns A and B are empty, the =AVERAGE function throws up a #DIV/0 error (the Average function adds the numbers in the cells then divides by the number of numbers - if there aren&#39;t any numbers it tries to divide by zero and you can&#39;t do that!).&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Delete the contents of cells &lt;b&gt;C2:C6&lt;/b&gt; and &lt;b&gt;C12:C20&lt;/b&gt;. Select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop5&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Here&#39;s the code:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Loop5()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; This loop runs as long as there is something in the next column&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; It does not calculate an average if there is already something in the cell&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; nor if there is no data to average (to avoid #DIV/0 errors).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;If&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell) &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;If&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell.Offset(0, -1)) &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;And&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell.Offset(0, -2)) &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Value = &quot;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Else&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.FormulaR1C1 = &quot;=Average(RC[-1],RC[-2])&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(1, 0).Select&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Loop Until&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell.Offset(0, 1))&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Note that this time there are no error messages because Excel hasn&#39;t tried to calculate averages of numbers that aren&#39;t there.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;In this macro there is a second IF statement &lt;i&gt;inside&lt;/i&gt; the one that tells Excel to do something only if the cell is empty. This second IF statement gives excel a choice. Instead of a simple &lt;b&gt;If&lt;/b&gt; there is an &lt;b&gt;If&lt;/b&gt; and an &lt;b&gt;Else&lt;/b&gt;. Here&#39;s how Excel reads its instructions… &lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&quot;If the cell has already got something in, go to the next cell. But if the cell is empty, look at the corresponding cells in columns A an B and if they are both empty, write nothing (&quot;&quot;). Otherwise, write the formula in the cell. Then move on to the next cell.&quot;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Exercise 6: For… Next Loop&lt;/span&gt;&lt;/h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;If you know, or can get VBE to find out, how many times to repeat a block of code you can use a &lt;b&gt;For… Next&lt;/b&gt; loop.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Move to &lt;b&gt;Sheet4&lt;/b&gt;, select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop6&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Here&#39;s the code:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Loop6()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; This loop repeats for a fixed number of times determined by the number of rows&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; in the range&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Dim&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; i &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Integer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;For&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; i = 1 &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;To&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Selection.CurrentRegion.Rows.Count - 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.FormulaR1C1 = &quot;=Average(RC[-1],RC[-2])&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(1, 0).Select&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; i&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;This macro doesn&#39;t make use of an adjacent column of cells like the previous ones have done to know when to stop looping. Instead it counts the number of rows in the current range of data and uses the &lt;b&gt;For… Next&lt;/b&gt; method to tell Excel to loop that number of times (minus one, because when VBA counts it starts at zero).&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Exercise 7: Getting the Reference From Somewhere Else&lt;/span&gt;&lt;/h3&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Select cell &lt;b&gt;G2&lt;/b&gt; and run the macro &lt;b&gt;Loop7&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Here&#39;s the code:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Loop7()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeGreen&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: green; font-family: Arial; font-size: 10pt;&quot;&gt;&#39; This loop repeats a fixed number of times getting its reference from elsewhere&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Dim&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; i &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;As Integer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Dim&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; intRowCount &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;As Integer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; intRowCount = Range(&quot;A1&quot;).CurrentRegion.Rows.Count - 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;For&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; i = 1 &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;To&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; intRowCount&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.FormulaR1C1 = &quot;=Average(RC[-5],RC[-6])&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(1, 0).Select&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; i&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;You can get the reference for the number of loops from anywhere. This macro places a set of calculations in column G for a number of times dictated by the number of rows in the block of data starting with cell A1. The &lt;b&gt;For… Next&lt;/b&gt; statement has been simplified a bit by first declaring a variable &lt;b&gt;intRowCount&lt;/b&gt; and filling it with the appropriate information (how many rows in the block by A1). This variable gets used in the next line instead of a long line of code. This is just another example of doing the same job a different way.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;If you wanted to construct a loop that always ran a block of code a fixed number of times, you could simply use an expression like:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;For&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; i = 1 &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;To&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; 23&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Exercise 8: About Doing Calculations…&lt;/span&gt;&lt;/h2&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;All the previous exercises have placed a calculation into a worksheet cell by actually writing a regular Excel function into the cell (and leaving it there) just as if you had typed it yourself. The syntax for this is:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;ActiveCell.FormulaR1C1 = “TYPE YOUR FUNCTION HERE”&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;These macros have been using:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;ActiveCell.FormulaR1C1 = “=Average(RC[-5],RC[-6])”&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Because this method actually places a function into the cell rather than a value, their results will change as the cells that they refer to change, just like regular functions – because they are regular functions. The calculating gets done in Excel because all that the macro did was to write the function.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;If you prefer, you can get the macro to do the calculating and just write the result into the cell. VBA has its own set of functions, but unfortunately AVERAGE isn’t one of them. However, VBA does support many of the commoner Excel functions with its &lt;b&gt;WorksheetFunction&lt;/b&gt; method.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;On &lt;b&gt;Sheet1 &lt;/b&gt;select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop1&lt;/b&gt;. &lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Take a look at the cells you just filled in. Each one contains a function, written by the macro. &lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Now delete the contents from the cells &lt;b&gt;C2:C20&lt;/b&gt;, select cell &lt;b&gt;C2&lt;/b&gt; and run the macro &lt;b&gt;Loop8&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Here’s the code:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; Loop8()&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Value = WorksheetFunction.Average(ActiveCell.Offset(0, -1).Value,&amp;nbsp;_&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(0, -2).Value)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveCell.Offset(1, 0).Select&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;Loop Until&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;CodeBlack&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt; IsEmpty(ActiveCell.Offset(0, 1))&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoEnvelopeReturn&quot;&gt;&lt;span class=&quot;CodeBlue&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: navy; font-family: Arial; font-size: 10pt;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 10pt;&quot;&gt;Take a look at the cells you just filled in. This time there’s no function, just the value. All the calculating was done by the macro which then wrote the value into the cell.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://comp-tricks-tips.blogspot.com/feeds/8751199843120064054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2485113794700350055/8751199843120064054?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/8751199843120064054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2485113794700350055/posts/default/8751199843120064054'/><link rel='alternate' type='text/html' href='http://comp-tricks-tips.blogspot.com/2011/01/using-loops-in-vba-in-microsoft-excel.html' title='Using Loops in VBA in Microsoft Excel'/><author><name>Comp Tips Blogger</name><uri>http://www.blogger.com/profile/18421328225248080547</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>