+ Reply to Thread
Results 1 to 5 of 5

Delete all text which is not 'bold' in cells with 'mingled bold' text

  1. #1
    Registered User
    Join Date
    12-25-2009
    Location
    The Netherlands
    MS-Off Ver
    Excel 2003/2007
    Posts
    43

    Delete all text which is not 'bold' in cells with 'mingled bold' text

    This is a following up of a former thread of mine, see http://www.excelforum.com/excel-prog...bold-text.html.

    I want to have a function or macro that if cells have mingled bold text, that only the bold text shall remain in the cells, and all the rest of the text must be deleted.

    Is this possible?

    Perhaps a hint is (I don't know) to start from the useful formula of PMO which he gave me in the above mentioned former thread :
    Please Login or Register  to view this content.
    Thanks.
    Last edited by Excelfriend; 01-23-2010 at 04:47 PM.

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Delete all text which is not 'bold' in cells with 'mingled bold' text

    Hi, Try this:-
    Please Login or Register  to view this content.
    Regards Mick
    Last edited by MickG; 01-23-2010 at 12:56 PM.

  3. #3
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Delete all text which is not 'bold' in cells with 'mingled bold' text

    Try this function

    Please Login or Register  to view this content.
    Martin

  4. #4
    Registered User
    Join Date
    12-25-2009
    Location
    The Netherlands
    MS-Off Ver
    Excel 2003/2007
    Posts
    43

    Re: Delete all text which is not 'bold' in cells with 'mingled bold' text

    Dear Mick,

    Your macro works very nicely! Thank you very much.

  5. #5
    Registered User
    Join Date
    12-25-2009
    Location
    The Netherlands
    MS-Off Ver
    Excel 2003/2007
    Posts
    43

    Re: Delete all text which is not 'bold' in cells with 'mingled bold' text

    Dear Martin,

    Thank you also very much for your solution with an UDF!
    In first instance the function didn't work, but after I declared the variable 'n' he works nicely.
    Please Login or Register  to view this content.
    Thank you again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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