+ Reply to Thread
Results 1 to 7 of 7

Double Space

  1. #1
    Registered User
    Join Date
    07-22-2013
    Location
    Chennai,India
    MS-Off Ver
    Excel 2007, 2010, 2013
    Posts
    26

    Lightbulb Double Space

    Hi..
    i need a macro to highlight double space in a column
    Regards
    Dhilip

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Double Space

    dhilipan,

    Do you mean two (or more) consecutive empty rows within the column? Or there are cells that contain text and sometimes the text contains double spaces and you need that highlighted?
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    07-22-2013
    Location
    Chennai,India
    MS-Off Ver
    Excel 2007, 2010, 2013
    Posts
    26

    Re: Double Space

    Hi... i need cells that contain text and sometimes the text contains double spaces to be highlighted

    Quote Originally Posted by tigeravatar View Post
    dhilipan,

    Do you mean two (or more) consecutive empty rows within the column? Or there are cells that contain text and sometimes the text contains double spaces and you need that highlighted?

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Double Space

    dhilipan,

    Does it have to be a macro? You could apply a conditional format to the column. For example, if you needed it to look at column A, you would select the column and then apply conditional formatting with this formula:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-22-2013
    Location
    Chennai,India
    MS-Off Ver
    Excel 2007, 2010, 2013
    Posts
    26

    Re: Double Space

    thanks tigeravatar,
    But i need those double space to be highlighted with no extra data. we need this for our quality audit.
    Quote Originally Posted by tigeravatar View Post
    dhilipan,

    Does it have to be a macro? You could apply a conditional format to the column. For example, if you needed it to look at column A, you would select the column and then apply conditional formatting with this formula:
    Please Login or Register  to view this content.

  6. #6
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Double Space

    dhilipan,

    You can't really highlight part of a cell. You can highlight text, but highlighted spaces are still transparent, so you wouldn't see anything. Best thing you can do is highlight the cell, or the words surrounding the double space (which might be a bit confusing if the double space is at the beginning or ending of the cell).

    Do you want to actually do anything with the double-space? Like correct it down to a single space and count how many corrections were needed? Or you just want to be pointed to the double-space cells? If you just want to be pointed to them, the conditional formatting will work, or you can use ctrl+f to bring up the find dialogue and perform a search for double-spaces.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,967

    Re: Double Space

    Administrative Note:
    • We would love to continue to help you with your query, but first, before we can proceed…
    • Please see Forum Rule #1 about proper thread
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Double Space Issue
    By darshan_parekh in forum Excel General
    Replies: 3
    Last Post: 11-26-2011, 12:45 PM
  2. Conditional formatting double space intermittently working
    By RefillMyInk in forum Excel General
    Replies: 1
    Last Post: 08-24-2011, 11:59 AM
  3. Replies: 9
    Last Post: 07-20-2011, 08:58 AM
  4. replace double space with single space within a range
    By erikd80 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-05-2011, 01:20 PM
  5. [SOLVED] How can I double space in Excel w/o going2 each indiviudal cell?
    By VNOLAN in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2005, 10:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1