+ Reply to Thread
Results 1 to 3 of 3

atribute color of text

  1. #1
    Registered User
    Join Date
    01-02-2022
    Location
    Lisbon
    MS-Off Ver
    office 365
    Posts
    1

    atribute color of text

    Hi,

    i want atribute color of a part of a text string.

    Exemple:

    Range("C" & myRow).Value = "Parcial payment" & vbCrLf & myText

    the "Parcial Paymente" in RED

    Thanks.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: atribute color of text

    See this example: https://docs.microsoft.com/en-us/off...nge.characters

    And this: https://docs.microsoft.com/en-us/off...cel.font.color
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: atribute color of text

    Something like this...
    Please Login or Register  to view this content.

+ 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. How to change the atribute of an access field
    By RamblingWreck in forum Access Tables & Databases
    Replies: 1
    Last Post: 12-21-2014, 03:51 AM
  2. Replies: 3
    Last Post: 05-30-2014, 10:24 AM
  3. Replies: 4
    Last Post: 12-29-2013, 11:41 PM
  4. Replies: 0
    Last Post: 09-26-2012, 01:08 PM
  5. how to find a color in a row where the color is blue , if true fill with a specific text
    By jayakumar.chandran in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2012, 03:38 AM
  6. Replies: 0
    Last Post: 02-16-2006, 12:00 AM
  7. change text color based on adjacent cell text color
    By matthewst in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-01-2005, 03:49 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