+ Reply to Thread
Results 1 to 4 of 4

Preserving text format/style - concatenate function

  1. #1
    Registered User
    Join Date
    12-11-2006
    Posts
    3

    Preserving text format/style - concatenate function

    Hi guys!

    I am trying to join multiple text strings together while still retaining their style settings (eg bold, italic etc). See the example below:

    Cell A1: THE FIRST PART OF THE TEXT
    Cell B1: The next part of the text

    The basic formula is =CONCATENATE(A1," - ",B1) to derive the following:

    THE FIRST PART OF THE TEXT - The next part of the text

    What I actually want is:

    THE FIRST PART OF THE TEXT - The next part of the text

    Can anyone advise on this? Alternatively, I could format the text within the CONCATENATE function if I had the right "option" to make text bold in the result.

    Any help is welcome. Tx

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    I am afraid you will need VBA to format each part separately ...
    something like
    Please Login or Register  to view this content.
    HTH
    Carim

  3. #3
    Registered User
    Join Date
    12-11-2006
    Posts
    3

    Vba/xl

    Thanks Carim,

    Will give that a go. It's worth it as I have over 8000 lines and can't be bothered to format each one manually!

    Ciao

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Well before stepping into the loop... just make sure you have properly coded the lenght, which means correctly spotted your separator " - " ...

    HTH
    Carim

+ 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