<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Color a Cell With a Double-Click In Excel</title>
	<atom:link href="http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/feed" rel="self" type="application/rss+xml" />
	<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel</link>
	<description>The DIY source for aspiring entrepreneurs.</description>
	<lastBuildDate>Sun, 13 May 2012 15:33:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Kara</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-16739</link>
		<dc:creator>Kara</dc:creator>
		<pubDate>Wed, 09 May 2012 02:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-16739</guid>
		<description>The way you have explained this made it so easy for a newbie like me! 
I was wondering if you have another code that can change the colour for certain cells for example i need c7 to ak7 when double clicked to be blue but i want the rest red still. Any help with that would be great</description>
		<content:encoded><![CDATA[<p>The way you have explained this made it so easy for a newbie like me!<br />
I was wondering if you have another code that can change the colour for certain cells for example i need c7 to ak7 when double clicked to be blue but i want the rest red still. Any help with that would be great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-16417</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 01 Mar 2012 02:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-16417</guid>
		<description>Tomas,

I have been using your code and changing this and that to learn but when I copy and paste your code for a select range of cells. It pops up with a Compile Error: Expected: list seperator or ) in the following line. With the colon highlighted.
If Intersect(ActiveCell, Range(“A1:B10&quot;)) Is Nothing Then
I am not very good on VB or even syntax errors in excell formulas either.

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Tomas,</p>
<p>I have been using your code and changing this and that to learn but when I copy and paste your code for a select range of cells. It pops up with a Compile Error: Expected: list seperator or ) in the following line. With the colon highlighted.<br />
If Intersect(ActiveCell, Range(“A1:B10&#8243;)) Is Nothing Then<br />
I am not very good on VB or even syntax errors in excell formulas either.</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maria</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-16356</link>
		<dc:creator>Maria</dc:creator>
		<pubDate>Wed, 15 Feb 2012 21:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-16356</guid>
		<description>Dan,
I&#039;ve been trying to figure out how to do this with a number.  I have a chart of four columns, and want to double click cell in colum A for the value &quot;1&quot;, colum B for the value &quot;2&quot;, colum C for the value &quot;3&quot; and column D for the value &quot;4&quot;.  I would like for the value to clear when i double click again.  When double clicking and getting the value, I want the value to automatically display in colum G, while if I double click it clear in the previous columns, i would like for it to clear in column G as well.
Can you teach me the code for this?
Been trying to find this for a while now!
Thanks,
Maria</description>
		<content:encoded><![CDATA[<p>Dan,<br />
I&#8217;ve been trying to figure out how to do this with a number.  I have a chart of four columns, and want to double click cell in colum A for the value &#8220;1&#8243;, colum B for the value &#8220;2&#8243;, colum C for the value &#8220;3&#8243; and column D for the value &#8220;4&#8243;.  I would like for the value to clear when i double click again.  When double clicking and getting the value, I want the value to automatically display in colum G, while if I double click it clear in the previous columns, i would like for it to clear in column G as well.<br />
Can you teach me the code for this?<br />
Been trying to find this for a while now!<br />
Thanks,<br />
Maria</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-16309</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 08 Feb 2012 09:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-16309</guid>
		<description>Thanks for the code, Tomas. It&#039;s come in quite handy. Simple, neat and elegant.</description>
		<content:encoded><![CDATA[<p>Thanks for the code, Tomas. It&#8217;s come in quite handy. Simple, neat and elegant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-16107</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 09 Jan 2012 03:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-16107</guid>
		<description>This double clicking code works perfect for what I want.  Is there a way to have this routine applied to every sheet in a workbook without manually adding it to each sheet? For example I have a &quot;master&quot; sheet that is formatted with all the code and conditions I want. Then the user simply adds a new sheet and copies the master over to the new sheet. The routines however do not copy with it. 


Nawabi:
To change the font color use &quot;Target.Font.ColorIndex = x&quot; where x is your color (below you can see where I added in):
        &#039; Then change the background color to red
        Target.Interior.ColorIndex = 3
        Target.Font.ColorIndex = 1</description>
		<content:encoded><![CDATA[<p>This double clicking code works perfect for what I want.  Is there a way to have this routine applied to every sheet in a workbook without manually adding it to each sheet? For example I have a &#8220;master&#8221; sheet that is formatted with all the code and conditions I want. Then the user simply adds a new sheet and copies the master over to the new sheet. The routines however do not copy with it. </p>
<p>Nawabi:<br />
To change the font color use &#8220;Target.Font.ColorIndex = x&#8221; where x is your color (below you can see where I added in):<br />
        &#8216; Then change the background color to red<br />
        Target.Interior.ColorIndex = 3<br />
        Target.Font.ColorIndex = 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-15653</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 04 Nov 2011 17:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-15653</guid>
		<description>Thanks for this, appreciate it!</description>
		<content:encoded><![CDATA[<p>Thanks for this, appreciate it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nawabi</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-15198</link>
		<dc:creator>Nawabi</dc:creator>
		<pubDate>Mon, 05 Sep 2011 07:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-15198</guid>
		<description>very good micro for change cell color but i want change the text color with double click in excel. do you know?
if you know please teach me.
i&#039;ll wait your answer.


Nawabi</description>
		<content:encoded><![CDATA[<p>very good micro for change cell color but i want change the text color with double click in excel. do you know?<br />
if you know please teach me.<br />
i&#8217;ll wait your answer.</p>
<p>Nawabi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared Newnam</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-15046</link>
		<dc:creator>Jared Newnam</dc:creator>
		<pubDate>Sun, 14 Aug 2011 04:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-15046</guid>
		<description>Hey Dan,

        I thought this was a great tutorial. I customized it to my needs. There&#039;s one question I have for you. I&#039;m trying to avoid a specific range of cells from changing color when it&#039;s double-clicked. 

Can you provide some insight into this? 

-Jared</description>
		<content:encoded><![CDATA[<p>Hey Dan,</p>
<p>        I thought this was a great tutorial. I customized it to my needs. There&#8217;s one question I have for you. I&#8217;m trying to avoid a specific range of cells from changing color when it&#8217;s double-clicked. </p>
<p>Can you provide some insight into this? </p>
<p>-Jared</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-14240</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Thu, 10 Mar 2011 05:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-14240</guid>
		<description>Tomas,

Re: How to Color a Cell With a Double-Click In Excel

I sent a question earlier today and since then I discovered where I was going wrong. I’m a neophyte to VBA for Excel and I did not understand the basics of where to put the code for BeforeDoubleClick events. I think I’ve got that part straightened out but, nevertheless, I am getting an error message when I double click a cell. The message is this:

Run-time error ’1004’:
Application-defined or object-defined error 

When I click Debug, the following line of the code is highlighted:

Target.Interior.ColorIndex = 3

I am using Excel 2007. Thanks for any help you can give.

Dennis</description>
		<content:encoded><![CDATA[<p>Tomas,</p>
<p>Re: How to Color a Cell With a Double-Click In Excel</p>
<p>I sent a question earlier today and since then I discovered where I was going wrong. I’m a neophyte to VBA for Excel and I did not understand the basics of where to put the code for BeforeDoubleClick events. I think I’ve got that part straightened out but, nevertheless, I am getting an error message when I double click a cell. The message is this:</p>
<p>Run-time error ’1004’:<br />
Application-defined or object-defined error </p>
<p>When I click Debug, the following line of the code is highlighted:</p>
<p>Target.Interior.ColorIndex = 3</p>
<p>I am using Excel 2007. Thanks for any help you can give.</p>
<p>Dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel/comment-page-1#comment-14239</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Thu, 10 Mar 2011 00:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://theclosetentrepreneur.com/how-to-color-a-cell-with-a-double-click-in-excel#comment-14239</guid>
		<description>Tomas,

Re: How To Color a Cell With a Double-Click In Excel, 11-06-2007

This does not work for me in either Excel 2003 or 2007. First of all, when I right-click in a worksheet, there is no “View Code” option. So I open the VB editor with Alt-F11, insert a Module, and paste in your code. When I go back to the worksheet and go to Tools, Macros, nothing is in the Macro dialog box. The box prompts me to enter the name of the Macro, which I do: Worksheet_BeforeDoubleClick(ByVal Target As Excel.Range, Cancel As Boolean). But the Run button is not active. When I try running the routine from the VB editor, I get the same empty Macro dialog box. I’ve also tried double-clicking in cells on the worksheet, thinking this might activate the macro, but nothing happens. The workbook is macro enabled, so that’s not the problem. What am I doing wrong? This is a good idea that I could use, so any help is greatly appreciated.

Dennis</description>
		<content:encoded><![CDATA[<p>Tomas,</p>
<p>Re: How To Color a Cell With a Double-Click In Excel, 11-06-2007</p>
<p>This does not work for me in either Excel 2003 or 2007. First of all, when I right-click in a worksheet, there is no “View Code” option. So I open the VB editor with Alt-F11, insert a Module, and paste in your code. When I go back to the worksheet and go to Tools, Macros, nothing is in the Macro dialog box. The box prompts me to enter the name of the Macro, which I do: Worksheet_BeforeDoubleClick(ByVal Target As Excel.Range, Cancel As Boolean). But the Run button is not active. When I try running the routine from the VB editor, I get the same empty Macro dialog box. I’ve also tried double-clicking in cells on the worksheet, thinking this might activate the macro, but nothing happens. The workbook is macro enabled, so that’s not the problem. What am I doing wrong? This is a good idea that I could use, so any help is greatly appreciated.</p>
<p>Dennis</p>
]]></content:encoded>
	</item>
</channel>
</rss>

