<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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">
	<channel>
		<title>Chandoo.org - Learn Excel &#38; Charting Online - Forums Tag: formatting - Recent Posts</title>
		<link>http://chandoo.org/forums/tags/formatting</link>
		<description>Ask Excel and Charting Questions, Muse about Visualizations, Learn and Share - Discussion Forums - Chandoo.org</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 08:22:44 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://chandoo.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://chandoo.org/forums/rss/tags/formatting" rel="self" type="application/rss+xml" />

		<item>
			<title>SirJB7 on "How to verify cell alignment left, right, center or other?"</title>
			<link>http://chandoo.org/forums/topic/how-to-verify-cell-alignment-left-right-center-or-other#post-103224</link>
			<pubDate>Sat, 18 May 2013 02:14:19 +0000</pubDate>
			<dc:creator>SirJB7</dc:creator>
			<guid isPermaLink="false">103224@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;@NARAYANK991&#60;br /&#62;
Hi!&#60;br /&#62;
Literally read and taken, you're right, Fabian Chaverri asked what you wrote, so he'd safely use the CELL function with the &#34;prefix&#34; parameter. Of course assuming the only text constraint.&#60;br /&#62;
In any case he has the choice, as OP always have. My advice is clear.&#60;br /&#62;
Regards!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>NARAYANK991 on "How to verify cell alignment left, right, center or other?"</title>
			<link>http://chandoo.org/forums/topic/how-to-verify-cell-alignment-left-right-center-or-other#post-103223</link>
			<pubDate>Sat, 18 May 2013 02:05:05 +0000</pubDate>
			<dc:creator>NARAYANK991</dc:creator>
			<guid isPermaLink="false">103223@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi Pablo ,&#60;/p&#62;
&#60;p&#62;You will have to take Microsoft to task for that.&#60;/p&#62;
&#60;p&#62;If you re-read the first sentence by OP :&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;I need to find a way to identify if a cell was aligned to the right, left or center.&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;I did not find a no-aligned requirement.&#60;/p&#62;
&#60;p&#62;Narayan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SirJB7 on "How to verify cell alignment left, right, center or other?"</title>
			<link>http://chandoo.org/forums/topic/how-to-verify-cell-alignment-left-right-center-or-other#post-103219</link>
			<pubDate>Sat, 18 May 2013 01:53:12 +0000</pubDate>
			<dc:creator>SirJB7</dc:creator>
			<guid isPermaLink="false">103219@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;@NARAYANK991&#60;br /&#62;
Hi!&#60;br /&#62;
Yes, I did, but if the attribute of the HorizontalAlignment property for that cell is different (0 for non aligned, -4131 or &#38;amp;HEFDD&#38;amp; for left, -4108 or &#38;amp;HEFF4&#38;amp; for centered and  -4152 or &#38;amp;HEFC8&#38;amp; for right), it should retrieve a different result, a different character in this case as it doesn't retrieve the actual value. Well, it's a &#34;prefix&#34; not an &#34;alignment&#34; parameter after all.&#60;br /&#62;
Otherwise it's so badly implemented that it shouldn't be used at all, IMHO.&#60;br /&#62;
Regards!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>NARAYANK991 on "How to verify cell alignment left, right, center or other?"</title>
			<link>http://chandoo.org/forums/topic/how-to-verify-cell-alignment-left-right-center-or-other#post-103217</link>
			<pubDate>Sat, 18 May 2013 01:47:26 +0000</pubDate>
			<dc:creator>NARAYANK991</dc:creator>
			<guid isPermaLink="false">103217@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi Pablo ,&#60;/p&#62;
&#60;p&#62;You are right , but have you considered that for TEXT , the default is left-aligned ?&#60;/p&#62;
&#60;p&#62;Narayan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SirJB7 on "How to verify cell alignment left, right, center or other?"</title>
			<link>http://chandoo.org/forums/topic/how-to-verify-cell-alignment-left-right-center-or-other#post-103214</link>
			<pubDate>Sat, 18 May 2013 01:38:34 +0000</pubDate>
			<dc:creator>SirJB7</dc:creator>
			<guid isPermaLink="false">103214@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;@NARANYANK991&#60;br /&#62;
Hi!&#60;br /&#62;
Despite of that (i.e., it works only for cell containing text) it retrieves the same character (apostrophe ') for both no aligned and left aligned cells.&#60;br /&#62;
Regards!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>NARAYANK991 on "How to verify cell alignment left, right, center or other?"</title>
			<link>http://chandoo.org/forums/topic/how-to-verify-cell-alignment-left-right-center-or-other#post-103212</link>
			<pubDate>Sat, 18 May 2013 01:29:45 +0000</pubDate>
			<dc:creator>NARAYANK991</dc:creator>
			<guid isPermaLink="false">103212@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi Fabian ,&#60;/p&#62;
&#60;p&#62;To add to whatever has been posted , the CELL function with &#34;prefix&#34; for the first parameter , returns information about the cell alignment , as in :&#60;/p&#62;
&#60;p&#62;=CELL(&#34;prefix&#34;,A1)&#60;/p&#62;
&#60;p&#62;However , there are two problems with this function :&#60;/p&#62;
&#60;p&#62;1.  This works only for cells which contain text ; it does not work with cells which have numbers in them&#60;/p&#62;
&#60;p&#62;2.  Any time you change the alignment , you need to either recalculate the cell which has the CELL function in it , by pressing F2 and ENTER , or recalculate the entire worksheet by pressing F9.&#60;/p&#62;
&#60;p&#62;Narayan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SirJB7 on "How to verify cell alignment left, right, center or other?"</title>
			<link>http://chandoo.org/forums/topic/how-to-verify-cell-alignment-left-right-center-or-other#post-103211</link>
			<pubDate>Sat, 18 May 2013 01:20:48 +0000</pubDate>
			<dc:creator>SirJB7</dc:creator>
			<guid isPermaLink="false">103211@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi, Fabian Chaverri!&#60;/p&#62;
&#60;p&#62;First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.&#60;/p&#62;
&#60;p&#62;As a starting point I'd recommend you to read the green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).&#60;/p&#62;
&#60;p&#62;Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.&#60;/p&#62;
&#60;p&#62;Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.&#60;/p&#62;
&#60;p&#62;And about questions in general...&#60;/p&#62;
&#60;p&#62;If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s) -if any posted below-, maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.&#60;/p&#62;
&#60;p&#62;And about this question in particular...&#60;/p&#62;
&#60;p&#62;I'm afraid that Excel don't exposes cell or range alignment properties to be used by formulas, so you'll need a UDF (user defined function) that does the job. Here's the code:&#60;/p&#62;
&#60;p&#62;-----&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Option Explicit

Function sAlignment(pRng As Range) As String
    &#38;#39; constants
    Const ksAlign = &#38;quot;X, No alignment, Left aligned, Centered, Right aligned&#38;quot;
    &#38;#39; declarations
    Dim sAlign() As String, I As Integer
    &#38;#39; start
    sAlign = Split(ksAlign, &#38;quot;,&#38;quot;)
    &#38;#39; process
    Select Case pRng.Cells(1, 1).HorizontalAlignment
        Case xlGeneral
            I = 1
        Case xlLeft
            I = 2
        Case xlCenter
            I = 3
        Case xlRight
            I = 4
    End Select
    &#38;#39; end
    sAlignment = sAlign(I)
End Function&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;-----&#60;/p&#62;
&#60;p&#62;Use it as:&#60;br /&#62;
=sAlignmentType(A1)&#60;/p&#62;
&#60;p&#62;Just advise if any issue.&#60;/p&#62;
&#60;p&#62;Regards!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Fabian Chaverri on "How to verify cell alignment left, right, center or other?"</title>
			<link>http://chandoo.org/forums/topic/how-to-verify-cell-alignment-left-right-center-or-other#post-103207</link>
			<pubDate>Sat, 18 May 2013 00:29:27 +0000</pubDate>
			<dc:creator>Fabian Chaverri</dc:creator>
			<guid isPermaLink="false">103207@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;I need to find a way to identify if a cell was aligned to the right, left or center.  I was able to validate if the cell contained either a values or text (istext, isnumber) or if it contained certain types of format (cell(&#34;format&#34;,_) or cell(&#34;type&#34;,_)).  Does anybody know a way?  Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SirJB7 on "Take your Excel column and row titles with you."</title>
			<link>http://chandoo.org/forums/topic/take-your-excel-column-and-row-titles-with-you#post-102961</link>
			<pubDate>Fri, 17 May 2013 01:35:07 +0000</pubDate>
			<dc:creator>SirJB7</dc:creator>
			<guid isPermaLink="false">102961@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi, Gray Mike!&#60;/p&#62;
&#60;p&#62;First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.&#60;/p&#62;
&#60;p&#62;As a starting point I'd recommend you to read the green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).&#60;/p&#62;
&#60;p&#62;Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.&#60;/p&#62;
&#60;p&#62;Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.&#60;/p&#62;
&#60;p&#62;And about questions in general...&#60;/p&#62;
&#60;p&#62;If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s) -if any posted below-, maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.&#60;/p&#62;
&#60;p&#62;And about this question in particular...&#60;/p&#62;
&#60;p&#62;Select a cell so as to keep fixed columns at left and rows at top (usually B2), then go to View tab, Window group, Freeze icon, and choose the required option.&#60;/p&#62;
&#60;p&#62;Regards!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Gray Mike on "Take your Excel column and row titles with you."</title>
			<link>http://chandoo.org/forums/topic/take-your-excel-column-and-row-titles-with-you#post-102954</link>
			<pubDate>Fri, 17 May 2013 01:20:55 +0000</pubDate>
			<dc:creator>Gray Mike</dc:creator>
			<guid isPermaLink="false">102954@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;I would like to know the keyboard short cut to make column or row titles/headers be announced as I move around in a large spreadsheet. I once knew how to do this, but now I cannot remember the trick, and can't seem to find anyone who can tell me. I hope you good people can be of some help to me. Thanks in advance for the time and consideration.&#60;/p&#62;
&#60;p&#62;Gray Mike
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SirJB7 on "Find and replace text by color"</title>
			<link>http://chandoo.org/forums/topic/find-and-replace-text-by-color#post-99526</link>
			<pubDate>Wed, 01 May 2013 17:35:56 +0000</pubDate>
			<dc:creator>SirJB7</dc:creator>
			<guid isPermaLink="false">99526@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi, Ben4576!&#60;br /&#62;
No problem about the rules, it was your first time here and it was only a guide to help you.&#60;br /&#62;
You're now changing and not slightly the specs you firstly wrote. Let me see if I get you now:&#60;br /&#62;
- you have cells with text, e.g. &#34;the quick brown fox jumped over the lazy dog&#34;&#60;br /&#62;
- as per your original request if all the cell was in read then it should be replaced by an hyperlink and added to a list&#60;br /&#62;
- now you say that if only &#34;brown fox&#34; it's in red, the hyperlink appears, for all the cell or just for the text in red?, and if &#34;lazy dog&#34; is in red too?&#60;br /&#62;
Regards!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ben4576 on "Find and replace text by color"</title>
			<link>http://chandoo.org/forums/topic/find-and-replace-text-by-color#post-99498</link>
			<pubDate>Wed, 01 May 2013 16:12:55 +0000</pubDate>
			<dc:creator>Ben4576</dc:creator>
			<guid isPermaLink="false">99498@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;I apologize for breaching any netiquette rules, this is my first stab at posting in a forum. I did perform searches both internal and external of chandoo, but came up fruitless. The coding you provided is, by far, the closest I have gotten to a solution yet.&#60;/p&#62;
&#60;p&#62;My excel sheet uses red to designate certain text to be hyperlinked within lines of text in the same cell. The formula you suggested only selects red text for hyperlinking when it does not share a cell with text in other colors. Is it possible to do that?&#60;/p&#62;
&#60;p&#62;My end goal is to have the ability to search an excel sheet that is full of text to select the text colored red and place hyperlink coding on either side, without eliminating any text within the cells.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SirJB7 on "Find and replace text by color"</title>
			<link>http://chandoo.org/forums/topic/find-and-replace-text-by-color#post-99379</link>
			<pubDate>Wed, 01 May 2013 04:12:17 +0000</pubDate>
			<dc:creator>SirJB7</dc:creator>
			<guid isPermaLink="false">99379@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi, Ben4576!&#60;/p&#62;
&#60;p&#62;First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.&#60;/p&#62;
&#60;p&#62;As a starting point I'd recommend you to read the green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).&#60;/p&#62;
&#60;p&#62;Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.&#60;/p&#62;
&#60;p&#62;Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.&#60;/p&#62;
&#60;p&#62;And about your question...&#60;/p&#62;
&#60;p&#62;If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s) -if any posted below-, maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.&#60;/p&#62;
&#60;p&#62;Despite of these, you'd surely want to give a look at this file:&#60;br /&#62;
&#60;a href=&#34;https://dl.dropboxusercontent.com/u/60558749/Find%20and%20replace%20text%20by%20color%20%28for%20Ben4576%20at%20chandoo.org%29.xlsm&#34; rel=&#34;nofollow&#34;&#62;https://dl.dropboxusercontent.com/u/60558749/Find%20and%20replace%20text%20by%20color%20%28for%20Ben4576%20at%20chandoo.org%29.xlsm&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It uses a dynamic named range ReferenceTable located in the Reference worksheet, which can be changed within the code. The Update Refs button will search in all worksheets different from Reference cells with font color in red, will add them in the ReferenceTable, and set crossed links from and to the reference and the referrer.&#60;/p&#62;
&#60;p&#62;This is the code:&#60;br /&#62;
-----&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Option Explicit

Sub UpdateRefs()
    &#38;#39; constants
    Const ksWS = &#38;quot;Reference&#38;quot;
    Const ksReference = &#38;quot;ReferenceTable&#38;quot;
    Const ksHyperlink1 = &#38;quot;=HYPERLINK(&#38;quot;
    Const ksLinkPrefix = &#38;quot;#&#38;quot;
    Const ksAdmiral = &#38;quot;!&#38;quot;
    Const ksComma = &#38;quot;,&#38;quot;
    Const ksQuote = &#38;quot;&#38;quot;&#38;quot;&#38;quot;
    Const ksHyperlink2 = &#38;quot;)&#38;quot;

    &#38;#39; declarations
    Dim ws As Worksheet, wsR As Worksheet, rng As Range
    Dim lReference As Long, sName As String, sLink As String, sText As String
    Dim I As Long, J As Long, C As Range
    &#38;#39; start
    Set wsR = Worksheets(ksWS)
    Set rng = wsR.Range(ksReference)
    lReference = rng.Rows.Count
    &#38;#39; process
    With rng
        For I = 1 To ThisWorkbook.Worksheets.Count
            Set ws = ThisWorkbook.Worksheets(I)
            sName = ws.Name
            If sName &#38;lt;&#38;gt; ksReference Then
                For Each C In ws.UsedRange
                    If C.Font.Color = vbRed Then
                        &#38;#39; position
                        lReference = lReference + 1
                        .Cells(lReference, 1).Value = sName
                        .Cells(lReference, 2).Value = C.Address(False, False, xlA1)
                        &#38;#39; formula or value
                        If C.HasFormula Then
                            .Cells(lReference, 3).Value = C.Formula
                        Else
                            .Cells(lReference, 3).Value = C.Value
                        End If
                        &#38;#39; links
                        &#38;#39;  in reference
                        sText = ksHyperlink1 &#38;amp; _
                            ksQuote &#38;amp; ksLinkPrefix &#38;amp; ws.Name &#38;amp; ksAdmiral &#38;amp; _
                            C.Address(False, False, xlA1) &#38;amp; _
                            ksQuote &#38;amp; ksComma &#38;amp; ksQuote &#38;amp; _
                            Format(C.Value) &#38;amp; _
                            ksQuote &#38;amp; ksHyperlink2
                        .Cells(lReference, 3).Formula = sText
                        &#38;#39;  in worksheet
                        sText = ksHyperlink1 &#38;amp; _
                            ksQuote &#38;amp; ksLinkPrefix &#38;amp; wsR.Name &#38;amp; ksAdmiral &#38;amp; _
                            .Cells(lReference, 3).Address(False, False, xlA1) &#38;amp; _
                            ksQuote &#38;amp; ksComma &#38;amp; ksQuote &#38;amp; _
                            Format(C.Value) &#38;amp; _
                            ksQuote &#38;amp; ksHyperlink2
                        C.Formula = sText
                    End If
                    DoEvents
                Next C
            End If
            Set ws = Nothing
        Next I
    End With
    &#38;#39; end
    Application.CutCopyMode = False
    Set C = Nothing
    Set rng = Nothing
    Set wsR = Nothing
    Beep
End Sub&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;-----&#60;/p&#62;
&#60;p&#62;Just advise if any issue.&#60;/p&#62;
&#60;p&#62;Regards!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ben4576 on "Find and replace text by color"</title>
			<link>http://chandoo.org/forums/topic/find-and-replace-text-by-color#post-99323</link>
			<pubDate>Tue, 30 Apr 2013 21:18:50 +0000</pubDate>
			<dc:creator>Ben4576</dc:creator>
			<guid isPermaLink="false">99323@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;But I do not want to delete the Red text in the process. Just place the code on either side.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ben4576 on "Find and replace text by color"</title>
			<link>http://chandoo.org/forums/topic/find-and-replace-text-by-color#post-99322</link>
			<pubDate>Tue, 30 Apr 2013 21:13:56 +0000</pubDate>
			<dc:creator>Ben4576</dc:creator>
			<guid isPermaLink="false">99322@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;I want to build a macro to search my worksheet for Red text and replace the text with a line of code to link the text. Is there any way to find and replace text by color?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bobhc on "Find only those cells with &#34;filled&#34; formatting"</title>
			<link>http://chandoo.org/forums/topic/find-only-those-cells-with-filled-formatting#post-98548</link>
			<pubDate>Fri, 26 Apr 2013 15:10:29 +0000</pubDate>
			<dc:creator>bobhc</dc:creator>
			<guid isPermaLink="false">98548@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Good day polarisking&#60;/p&#62;
&#60;p&#62;Your Parentheses were stopping auto open of the website
&#60;/p&#62;</description>
		</item>
		<item>
			<title>polarisking on "Find only those cells with &#34;filled&#34; formatting"</title>
			<link>http://chandoo.org/forums/topic/find-only-those-cells-with-filled-formatting#post-98539</link>
			<pubDate>Fri, 26 Apr 2013 13:21:50 +0000</pubDate>
			<dc:creator>polarisking</dc:creator>
			<guid isPermaLink="false">98539@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Nevermind . . . I was lazy and should have done a little research beforehand. Here's the solution, in case anyone's interested.&#60;/p&#62;
&#60;p&#62;Select the range you'd like to search.&#60;/p&#62;
&#60;p&#62;1. Press Ctl-F to invoke the Find/Replace dialog box and then select the Find tab.&#60;br /&#62;
2. With nothing in the Find What box, click on the Format button, which will open the format dialog box.&#60;br /&#62;
3. In the Format dialog box, go to the Fill tab and then select the appropriate colour.&#60;br /&#62;
4. Click on OK to close the Format dialog and then choose Find All. The address of all the cells with that particular colour will be listed in the find and replace box.&#60;br /&#62;
5. Select one and then press Ctl-A to select all other similar coloured cells.&#60;br /&#62;
6. Close the dialog.&#60;br /&#62;
7. Type whatever you'd like to put in the cell and press Ctl-Enter&#60;/p&#62;
&#60;p&#62;source: &#60;a href=&#34;http://www.techfuels.com/everything-else/5732-finding-cell-colour-excel.html&#34; rel=&#34;nofollow&#34;&#62;http://www.techfuels.com/everything-else/5732-finding-cell-colour-excel.html&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>polarisking on "Find only those cells with &#34;filled&#34; formatting"</title>
			<link>http://chandoo.org/forums/topic/find-only-those-cells-with-filled-formatting#post-98538</link>
			<pubDate>Fri, 26 Apr 2013 13:13:26 +0000</pubDate>
			<dc:creator>polarisking</dc:creator>
			<guid isPermaLink="false">98538@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Using Go To ... Special, you can find and isolate cells with either blanks or non-blanks, then using Ctl-Enter you can replace the contents globally.&#60;/p&#62;
&#60;p&#62;Is there a way to find and isolate cells (with/without a macro) filled with a particular color? border? etc.?&#60;/p&#62;
&#60;p&#62;Thank you in advance
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shrivallabha on "Best Option to Control/Limit/Guide Text Entry into Cell (VBA only option?)"</title>
			<link>http://chandoo.org/forums/topic/best-option-to-controllimitguide-text-entry-into-cell-vba-only-option#post-86552</link>
			<pubDate>Mon, 25 Mar 2013 17:49:35 +0000</pubDate>
			<dc:creator>shrivallabha</dc:creator>
			<guid isPermaLink="false">86552@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Target refers to the cell on which you have clicked so it is the same as Activecell. So I normally use the Target word in case worksheet_based events.&#60;/p&#62;
&#60;p&#62;Instead of asking user to enter his initials you can use something like Application.Username and skip the initials inputbox altogether.&#60;/p&#62;
&#60;p&#62;What sort of error handling do you want to add? You haven't specified anything in that regard.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)

Dim Comment As String
Dim Date_Stamp As String
Dim Initials As String
Dim vbResult As VbMsgBoxResult

If Not Intersect(Target, Range(&#38;quot;T10:T309&#38;quot;)) Is Nothing Then

    Cancel = True

    vbResult = MsgBox(&#38;quot;Do you want to insert comment?&#38;quot;, vbYesNo, &#38;quot;COMMENT&#38;quot;)
    If vbResult = vbNo Then Exit Sub

    Comment = InputBox(&#38;quot;Please Enter Comment (no initials or dating required)&#38;quot;, &#38;quot;Comment&#38;quot;)
    Initials = InputBox(&#38;quot;Please Enter Your Initials&#38;quot;, &#38;quot;Initials&#38;quot;)
    Date_Stamp = DateValue(Now)

    Target.Value = &#38;quot;*&#38;quot; &#38;amp; Initials &#38;amp; &#38;quot;-&#38;quot; &#38;amp; Date_Stamp &#38;amp; &#38;quot; &#38;quot; &#38;amp; Comment &#38;amp; &#38;quot;* &#38;quot; &#38;amp; Target.Value

End If

End Sub&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>olddirtybaird on "Best Option to Control/Limit/Guide Text Entry into Cell (VBA only option?)"</title>
			<link>http://chandoo.org/forums/topic/best-option-to-controllimitguide-text-entry-into-cell-vba-only-option#post-86539</link>
			<pubDate>Mon, 25 Mar 2013 16:17:03 +0000</pubDate>
			<dc:creator>olddirtybaird</dc:creator>
			<guid isPermaLink="false">86539@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi Shrivallabha,&#60;/p&#62;
&#60;p&#62;Thanks for the reply! I was thinking the same thing and went with a double-click event. I really like the code you mentioned asking/confirming whether they want to insert a comment - Cheers!&#60;/p&#62;
&#60;p&#62;Here's what I'm currently using, but I need to add that option you mentioned and also some on error proofing&#60;br /&#62;
'&#60;br /&#62;
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)&#60;/p&#62;
&#60;p&#62;Dim Comment As String&#60;br /&#62;
Dim Date_Stamp As String&#60;br /&#62;
Dim Initials As String&#60;/p&#62;
&#60;p&#62;    If Not Intersect(Target, Range(&#34;T10:T309&#34;)) Is Nothing Then&#60;/p&#62;
&#60;p&#62;        Comment = InputBox(&#34;Please Enter Comment (no initials or dating required)&#34;, &#34;Comment&#34;)&#60;br /&#62;
        Initials = InputBox(&#34;Please Enter Your Initials&#34;, &#34;Initials&#34;)&#60;br /&#62;
        Date_Stamp = DateValue(Now)&#60;/p&#62;
&#60;p&#62;        ActiveCell.Value = &#34;*&#34; &#38;amp; Initials &#38;amp; &#34;-&#34; &#38;amp; Date_Stamp &#38;amp; &#34; &#34; &#38;amp; Comment &#38;amp; &#34;* &#34; &#38;amp; ActiveCell.Value&#60;br /&#62;
        ActiveCell.Select&#60;/p&#62;
&#60;p&#62;    End If&#60;br /&#62;
End Sub'
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shrivallabha on "Best Option to Control/Limit/Guide Text Entry into Cell (VBA only option?)"</title>
			<link>http://chandoo.org/forums/topic/best-option-to-controllimitguide-text-entry-into-cell-vba-only-option#post-86076</link>
			<pubDate>Sat, 23 Mar 2013 04:42:15 +0000</pubDate>
			<dc:creator>shrivallabha</dc:creator>
			<guid isPermaLink="false">86076@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Users may not want to scroll up to click insert button. You can also try a worksheet based event.&#60;/p&#62;
&#60;p&#62;Right click on Sheet tab and choose &#34;View Code&#34;. Paste this code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Private Sub Worksheet_SelectionChange(ByVal Target As Range)

Dim Comment As String
Dim Date_Stamp As String
Dim User_Code As String
Dim vbResult As VbMsgBoxResult

If Target.Column = 10 Then &#38;#39;It will give prompt on Column J

    vbResult = MsgBox(&#38;quot;Do you want to insert comment?&#38;quot;, vbYesNo, &#38;quot;COMMENT&#38;quot;)

    If vbResult = vbNo Then Exit Sub

    User_Code = InputBox(&#38;quot;Please Enter User Code&#38;quot;, &#38;quot;User Code&#38;quot;)
    Comment = InputBox(&#38;quot;Please Enter Comment&#38;quot;, &#38;quot;Comment&#38;quot;)
    Date_Stamp = DateValue(Now)

    Target.Value = User_Code &#38;amp; &#38;quot; - &#38;quot; &#38;amp; Date_Stamp &#38;amp; &#38;quot; &#38;quot; &#38;amp; Comment

End If

End Sub&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>olddirtybaird on "Best Option to Control/Limit/Guide Text Entry into Cell (VBA only option?)"</title>
			<link>http://chandoo.org/forums/topic/best-option-to-controllimitguide-text-entry-into-cell-vba-only-option#post-86032</link>
			<pubDate>Fri, 22 Mar 2013 20:17:11 +0000</pubDate>
			<dc:creator>olddirtybaird</dc:creator>
			<guid isPermaLink="false">86032@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Oh! Sorry. That is useful and makes complete sense. I misunderstood &#34;user code&#34;, which represents the user initials now and that's great.&#60;/p&#62;
&#60;p&#62;Thanks again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DaveTurton on "Best Option to Control/Limit/Guide Text Entry into Cell (VBA only option?)"</title>
			<link>http://chandoo.org/forums/topic/best-option-to-controllimitguide-text-entry-into-cell-vba-only-option#post-85973</link>
			<pubDate>Fri, 22 Mar 2013 17:00:30 +0000</pubDate>
			<dc:creator>DaveTurton</dc:creator>
			<guid isPermaLink="false">85973@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;I was including two forcing them to put their user code in and ensuring it was in the right format. But whichever works best for your needs
&#60;/p&#62;</description>
		</item>
		<item>
			<title>olddirtybaird on "Best Option to Control/Limit/Guide Text Entry into Cell (VBA only option?)"</title>
			<link>http://chandoo.org/forums/topic/best-option-to-controllimitguide-text-entry-into-cell-vba-only-option#post-85972</link>
			<pubDate>Fri, 22 Mar 2013 16:56:54 +0000</pubDate>
			<dc:creator>olddirtybaird</dc:creator>
			<guid isPermaLink="false">85972@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi Dave, Thanks for the quick reply. I think I'll give that a shot. One question though, was there any reason for the 2 input boxes? I should be good with just one.&#60;/p&#62;
&#60;p&#62;What I plan on doing now is concatentating their old comments that exist in the cell(s). For example, whatever they entered in last week for the project updates in cell T10. And then having the input box gather their new comment/updates to place at the beginning.&#60;/p&#62;
&#60;p&#62;So something like this probably:&#60;/p&#62;
&#60;p&#62;'&#60;br /&#62;
Comment = InputBox(&#34;Please Enter Your Update&#34;, &#34;Update&#34;)&#60;br /&#62;
Date_Stamp = DateValue(Now)&#60;/p&#62;
&#60;p&#62;ActiveCell.Value = &#34; - &#34; &#38;amp; Date_Stamp &#38;amp; &#34; &#34; &#38;amp; ActiveCell.Value&#60;/p&#62;
&#60;p&#62;Thanks again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DaveTurton on "Best Option to Control/Limit/Guide Text Entry into Cell (VBA only option?)"</title>
			<link>http://chandoo.org/forums/topic/best-option-to-controllimitguide-text-entry-into-cell-vba-only-option#post-85969</link>
			<pubDate>Fri, 22 Mar 2013 16:28:39 +0000</pubDate>
			<dc:creator>DaveTurton</dc:creator>
			<guid isPermaLink="false">85969@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Use the below:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Sub Comments()

Dim Comment As String
Dim Date_Stamp As String
Dim User_Code As String

User_Code = InputBox(&#38;quot;Please Enter User Code&#38;quot;, &#38;quot;User Code&#38;quot;)
Comment = InputBox(&#38;quot;Please Enter Comment&#38;quot;, &#38;quot;Comment&#38;quot;)
Date_Stamp = DateValue(Now)

ActiveCell.Value = User_Code &#38;amp; &#38;quot; - &#38;quot; &#38;amp; Date_Stamp &#38;amp; &#38;quot; &#38;quot; &#38;amp; Comment

End Sub&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Put a button on the sheet and assign the macro to it.&#60;/p&#62;
&#60;p&#62;It will put the comment etc in the active cell
&#60;/p&#62;</description>
		</item>
		<item>
			<title>olddirtybaird on "Best Option to Control/Limit/Guide Text Entry into Cell (VBA only option?)"</title>
			<link>http://chandoo.org/forums/topic/best-option-to-controllimitguide-text-entry-into-cell-vba-only-option#post-85967</link>
			<pubDate>Fri, 22 Mar 2013 16:10:47 +0000</pubDate>
			<dc:creator>olddirtybaird</dc:creator>
			<guid isPermaLink="false">85967@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;This is my first post...I love this site.&#60;/p&#62;
&#60;p&#62;In regards to my question, I have a spreadsheet that has cells setup for user text/comment entry. For example, Cell T10 has text entered by Bob:&#60;/p&#62;
&#60;p&#62;&#34;Project on track. Next update will be provided 28MAR13-BH22MAR13&#34;&#60;/p&#62;
&#60;p&#62;The purpose of this cell is to capture commentary and updates from users regarding their tasks or projects, however, due to different users and their level detail (human factor), it has become difficult to quickly understand which comment is the most recent...for example imagine this:&#60;/p&#62;
&#60;p&#62;&#34;Project on track. Waiting on approved budget. Delayed by 1 month. Project is good so far&#34;&#60;/p&#62;
&#60;p&#62;So the problem becomes how do I start to encourage via Excel sheet setup or code that users should always place an initial and data stamp prior to their most recent comment and also make it the first item to read in the cell...ideally something like this:&#60;/p&#62;
&#60;p&#62;&#34;*SRB 22MAR13 - Project on track* Waiting on approved budget. Delayed by 1 month. Project is good so far&#34;&#60;/p&#62;
&#60;p&#62;I'm going to go ahead and assume that the best and probably the easiest method to do something like this is to create a userform/text box that activates by event when they double-click that cell or perhaps a command button that initiates the code. Based on this logic I'm thinking that with the userform text box I could receive their text updates and then automatically have code afterwards that places an initial and time stamp after complete and puts it at the first line in the cell...&#60;/p&#62;
&#60;p&#62;Also, a key item to note is that I can not consider fonts or text formatting, hence, my example includes only text characters (*) to highlight updates because I have other workbooks linked to these cells looking at those comments. I.e. Boss/Project Mgmt office opens his global spreadsheet. And within this spreadsheet he can see these text updates from this other workbook. (FYI, I'm not a big fan of having &#34;shared&#34; workbooks&#34;..tons of crashes with multiple users...)&#60;/p&#62;
&#60;p&#62;Sorry for the long explanation, but I couldn't figure out a more concise way to truly describe my vision of the functionality and how it relates to this issue :)&#60;/p&#62;
&#60;p&#62;That being said, does anyone have any suggestions or do they think this userform code is the best way to ensure all comments follow such a consistent and clean format for legibility?&#60;/p&#62;
&#60;p&#62;I greatly appreciate your advice and help! Love this forum!&#60;/p&#62;
&#60;p&#62;Thank you,&#60;br /&#62;
Stephen
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Debraj Roy on "Way to Lock Column Widths?"</title>
			<link>http://chandoo.org/forums/topic/way-to-lock-column-widths#post-81263</link>
			<pubDate>Thu, 28 Feb 2013 20:08:17 +0000</pubDate>
			<dc:creator>Debraj Roy</dc:creator>
			<guid isPermaLink="false">81263@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Hi Skidragon,&#60;/p&#62;
&#60;p&#62;Thanks for sharing the MACRO... :)&#60;/p&#62;
&#60;p&#62;By the way..&#60;br /&#62;
* Select all Cells.. and Change Protection &#34;Unlocked&#34;&#60;br /&#62;
* Select Only A:R Column .. Change Protection to &#34;Locked&#34;&#60;br /&#62;
* Protect Worksheet... Password is Optional...&#60;br /&#62;
* Provide all Permission.. Except Format Column.. (uncheck)&#60;/p&#62;
&#60;p&#62;Will also &#34;Lock the width of specific columns&#34;..  :)&#60;br /&#62;
but suggesting you to ignore it..&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
&#60;strong&#62;=DEC2HEX(3563)&#60;/strong&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>skidragon02 on "Way to Lock Column Widths?"</title>
			<link>http://chandoo.org/forums/topic/way-to-lock-column-widths#post-81253</link>
			<pubDate>Thu, 28 Feb 2013 18:36:36 +0000</pubDate>
			<dc:creator>skidragon02</dc:creator>
			<guid isPermaLink="false">81253@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;@sgmpatnaik - Here it is:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Sub Column_Widths()

Dim ws As Worksheet
Application.ScreenUpdating = False
For i = 3 To 29
    With Sheets(i)
        .Columns(&#38;quot;A:A&#38;quot;).ColumnWidth = 5.57
        .Columns(&#38;quot;B:B&#38;quot;).ColumnWidth = 11.71
        .Columns(&#38;quot;C:C&#38;quot;).ColumnWidth = 8.86
        .Columns(&#38;quot;D:D&#38;quot;).ColumnWidth = 8.86
        .Columns(&#38;quot;E:E&#38;quot;).ColumnWidth = 9.43
        .Columns(&#38;quot;F:F&#38;quot;).ColumnWidth = 2.86
        .Columns(&#38;quot;G:G&#38;quot;).ColumnWidth = 17#
        .Columns(&#38;quot;H:H&#38;quot;).ColumnWidth = 7.29
        .Columns(&#38;quot;I:I&#38;quot;).ColumnWidth = 32#
        .Columns(&#38;quot;J:J&#38;quot;).ColumnWidth = 32#
        .Columns(&#38;quot;K:K&#38;quot;).ColumnWidth = 16.29
        .Columns(&#38;quot;L:L&#38;quot;).ColumnWidth = 7.71
        .Columns(&#38;quot;M:M&#38;quot;).ColumnWidth = 10.29
        .Columns(&#38;quot;N:N&#38;quot;).ColumnWidth = 4.86
        .Columns(&#38;quot;O:O&#38;quot;).ColumnWidth = 7.14
        .Columns(&#38;quot;P:P&#38;quot;).ColumnWidth = 4.86
        .Columns(&#38;quot;Q:Q&#38;quot;).ColumnWidth = 6.29
        .Columns(&#38;quot;R:R&#38;quot;).ColumnWidth = 5.57
        .Rows(&#38;quot;3:103&#38;quot;).EntireRow.AutoFit
    End With
Next
Application.ScreenUpdating = True
End Sub&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Sammy on "Format Cells based on specific text"</title>
			<link>http://chandoo.org/forums/topic/format-cells-based-on-specific-text#post-80895</link>
			<pubDate>Wed, 27 Feb 2013 08:19:08 +0000</pubDate>
			<dc:creator>Sammy</dc:creator>
			<guid isPermaLink="false">80895@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;Yes, the list box is connected to a cell and gives a numerical value, and the cells in col A contain a vlookup formula&#60;/p&#62;
&#60;p&#62;Well, I used the below formula on top of my actual formula and it works fine when I change the locations, even though I ended up with a messy and LENGTHY formula :( Parts of the trade for not wanting to use a macro!&#60;/p&#62;
&#60;p&#62;=if(a12=1, text(formula, &#34;0.00%&#34;), if(a12=2, text(formula, &#34;0.00&#34;), text(formula,&#34;0&#34;)))&#60;/p&#62;
&#60;p&#62;Thanks a lot for your time and help though. Much appreciated!&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sam
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Luke M on "Format Cells based on specific text"</title>
			<link>http://chandoo.org/forums/topic/format-cells-based-on-specific-text#post-80747</link>
			<pubDate>Tue, 26 Feb 2013 20:54:03 +0000</pubDate>
			<dc:creator>Luke M</dc:creator>
			<guid isPermaLink="false">80747@http://chandoo.org/forums/</guid>
			<description>&#60;p&#62;So, the list box is connected to a cell and gives a numerical value, and the cells in col 1 contain some sort of lookup formula, I presume?&#60;br /&#62;
Rather than just trying on a different computer, trying on a new workbook would tesst if the theory is correct and/or there's something else goofy going on in workbook.&#60;br /&#62;
Trying to debug the problem, can we start small and just try to get 1 cell to change formatting based on another. Then, try having multiple cells change. Then, copy/extend the rule to other cells in other columns. Trying ot figure out at what point does the problem emerge. =/
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
