+ Reply to Thread
Results 1 to 3 of 3

bold certain concatenated text

  1. #1
    Forum Contributor
    Join Date
    01-12-2004
    Location
    Nebraska, USA
    MS-Off Ver
    Office 365
    Posts
    167

    Question bold certain concatenated text

    Hey guys...

    Any ideas on VBA to BOLD certain text in a concatenated cell??

    Example:

    The formula in a certain cell is this:
    Please Login or Register  to view this content.
    Which produces the following desired result:
    ENTRY DEADLINE: All entries must be submitted by 7 PM on Sunday, December 20th

    What I want...is this:
    ENTRY DEADLINE: All entries must be submitted by 7 PM on Sunday, December 20th

    Also, I would prefer the "th" on the DATE to be superscripted. Is this even possible??

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: bold certain concatenated text

    Quote Originally Posted by HuskerBronco
    Is this even possible??
    I'm afraid not.

    A cell containing a formula can not contain multiple formats.

    You would need to use VBA to populate the cell with just the resulting value and in turn format parts based on Char positions etc... unless it's really important I would not bother.

    EDIT: I just re-read your post where you clearly stated VBA ideas - sorry -- too early !

    that said you would still need to dispense with the formula in the cell and calculate the same in memory - is that viable ?
    Last edited by DonkeyOte; 12-09-2009 at 04:36 AM.

  3. #3
    Forum Contributor
    Join Date
    01-12-2004
    Location
    Nebraska, USA
    MS-Off Ver
    Office 365
    Posts
    167

    Re: bold certain concatenated text

    As you said, Donkey Ote...

    that said you would still need to dispense with the formula in the cell and calculate the same in memory
    How do I go about doing that??

+ 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