+ Reply to Thread
Results 1 to 7 of 7

Macro to highlight cells which have content with an end punctuation

  1. #1
    Registered User
    Join Date
    01-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    10

    Macro to highlight cells which have content with an end punctuation

    Hi,

    I need to highlight the cells which have sentence with an end punctuation (comma, semicolon, colon, hyphen, period or fullstop).

    I need a macro for this.

    Please help.

    Thanks.
    Last edited by Athi123; 01-30-2013 at 06:26 AM.

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Macro to highlight cells which have content with an end punctuation

    Assuming sentences are in column A

    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  3. #3
    Registered User
    Join Date
    01-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Macro to highlight cells which have content with an end punctuation

    Hi,

    Thanks for the macro. Could you please update the macro so that sentences in many columns may also get highlighted.

    This macro works fine while pasting the data in only one column (Column A), but what has to be done if we have multi-columns.

    Thanks.

  4. #4
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Macro to highlight cells which have content with an end punctuation

    How would you like the macro to be updated, i.e. how are you going to tell the macro which columns to check? Do you want to select some columns and should the macro then check the selected columns?

  5. #5
    Registered User
    Join Date
    01-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Macro to highlight cells which have content with an end punctuation

    Hi,

    I'm having data in 20 columns. I want the macro to check all the columns irrespective of selection.

    Thanks for the response.

  6. #6
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Macro to highlight cells which have content with an end punctuation

    Try

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    01-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Macro to highlight cells which have content with an end punctuation

    Hi,

    Thanks. It's working.

    Thanks a lot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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