+ Reply to Thread
Results 1 to 2 of 2

Formatting Specific String within a Text based on the formatting found in another cell

  1. #1
    Registered User
    Join Date
    06-19-2005
    Posts
    49

    Formatting Specific String within a Text based on the formatting found in another cell

    I have a problem that involves four input cells for formatting, finding four specific texts in a string and formatting those specific texts within the string with the same formatting as the input cells.

    For instance cells A1:A4 I have specific formatting unique to each cell.

    In C1 I have this text . . . 'Need to format TT MM LL JJ'

    where A1 is the formatting for TT
    where A2 is the formatting for MM
    where A3 is the formatting for LL
    where A4 is the formatting for JJ

    I need to find each specific string in C1 and format that string with the formatting found in the respective cells assigned to that string. I think I need to format all four strings simultaneously so when I enter the cell, it will preserve all four unique formattings in the one text.

    Can anyone help me? Thx in advance.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Formatting Specific String within a Text based on the formatting found in another cell

    Define "unique formatting". What exactly is different about each piece of the final string?
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

+ 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] Conditional Formatting based on partial/specific text to highlight entire row
    By bizdevdfw in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-18-2016, 04:32 PM
  2. [SOLVED] Cannot get a cell to retain formatting when a part of a text string
    By Grimace in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2012, 12:08 AM
  3. [SOLVED] Conditional Formatting / Macro to affect specific string within a cell
    By xandermacleod in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-16-2012, 02:06 PM
  4. [SOLVED] Macros imitating conditional formatting based on specific text within cell
    By schaasyd in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-15-2012, 06:30 PM
  5. Conditional formating based on specific text in string in another cell
    By mraheelgujjar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2011, 01:09 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