+ Reply to Thread
Results 1 to 9 of 9

Bold specific words in cell

  1. #1
    Registered User
    Join Date
    06-28-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    37

    Bold specific words in cell

    Hey guys,

    I have a query which I hope someone can address.

    I have the following formula in cell A1.

    =CONCATENATE("Here's the quote to import your goods from ",B2)

    It currently it looks like this:

    Here's the quote to import your goods from London

    But I want it to look like this:

    Here's the quote to import your goods from London

    If someone can tell me if this is possible that would be great.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,913

    Re: Bold specific words in cell

    You can't bold part of formula result. Even with VBA. Excel isn't the best tool for string manipulation.

    EDIT: There are workarounds, but is going to result in messy set up and isn't recommended. One example is to over-lay TextBox or other object on top of text to make it appear bolded.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    06-28-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    37

    Re: Bold specific words in cell

    Thank you for your prompt response.

    Is there a way to use macros?

    Edit: I would essentially like to copy and paste this formatted data into an email
    Last edited by AlexShip; 07-11-2017 at 11:51 AM.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Bold specific words in cell

    You can do it all with code:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  5. #5
    Registered User
    Join Date
    06-28-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    37

    Re: Bold specific words in cell

    Thanks for the code.

    I have just used that on an example document and it works!!
    Last edited by AlexShip; 07-12-2017 at 05:29 AM.

  6. #6
    Registered User
    Join Date
    06-28-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    37

    Re: Bold specific words in cell

    On the basis I use the formula below:

    =CONCATENATE("Here's the quote to import your goods from FOB ",F2," ","(FOB Explained) to you in ",F3,", ","UK")&CHAR(10)&CONCATENATE("- ",F4," ","carton(s), totalling ",F5,"cbm ","and weighing ",F6,"kg")&CHAR(10)&CONCATENATE("- Sea Freight from FOB ",F2," ","and delivered to you - ", A5)

    It would look like this:

    Here's the quote to import your goods from FOB Shanghai (FOB Explained) to you in London, UK
    - 2 carton(s), totaling 1cbm and weighing 1kg
    - Sea Freight from FOB Shanghai and delivered to you - £1000 + UK Duty & VAT*

    How would I have it so that it looks like this:

    Here's the quote to import your goods from FOB Shanghai (FOB Explained) to you in London, UK
    - 2 carton(s), totaling 1cbm and weighing 1kg
    - Sea Freight from FOB Shanghai and delivered to you - £1000 + UK Duty & VAT*

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Bold specific words in cell

    You can still do it with code:

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    06-28-2017
    Location
    UK
    MS-Off Ver
    2007
    Posts
    37

    Re: Bold specific words in cell

    That's excellent. Certainly, appreciate all the help!!

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Bold specific words in cell

    You're welcome!

    BTW - you could have all those added ranges "bolded" if you wanted!

+ 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. [SOLVED] Highlight specific texts in a cell with red bold font using VBA
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-06-2017, 10:38 AM
  2. Replies: 3
    Last Post: 04-05-2017, 04:01 AM
  3. [SOLVED] Use a macro to make specific cell characters bold
    By avendi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-28-2016, 07:58 AM
  4. Replies: 3
    Last Post: 04-08-2014, 03:45 AM
  5. [SOLVED] VBA Bold Specific Words
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-06-2014, 12:40 PM

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