+ Reply to Thread
Results 1 to 4 of 4

dynamically created option buttons - change font color of caption

  1. #1
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    dynamically created option buttons - change font color of caption

    A small userform automatically lists the files in a directory allowing a radio button to select the one you want to edit or print. Created on the fly because each folder content varies widely. To match the theme of the rest of the userform navigation menus I am trying to change the caption font color to ColorIndex(10)

    I found how to bold the caption but the color change is evading me. Any suggestions??
    Please Login or Register  to view this content.
    Last edited by nigelog; 10-04-2018 at 11:49 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: dynamically created option buttons - change font color of caption

    It should be this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: dynamically created option buttons - change font color of caption

    Hi Norie
    no, although it doesn't jam like the other options, font color remains black/bold

  4. #4
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: dynamically created option buttons - change font color of caption

    This does change it so I'll try rgb reference
    Please Login or Register  to view this content.
    Edit: Sorted, below works

    Please Login or Register  to view this content.
    Last edited by nigelog; 10-04-2018 at 11:48 AM.

+ 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] Update labels caption with dynamically created controls on mulitpage userform
    By Chrispelletier in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2016, 02:53 PM
  2. [SOLVED] Adding change event to dynamically created option buttons on userform
    By Arkadi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2014, 11:38 AM
  3. [SOLVED] Change label caption's font color based on value in another textbox
    By MileHigh_PhD in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-19-2013, 01:59 PM
  4. [SOLVED] Option Buttons to Change ComboBox Values Dynamically
    By Stonesteel15 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-03-2012, 11:48 PM
  5. Changing Font Color of Dynamically created CheckBoxes
    By craigba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2011, 07:17 AM
  6. How to change the Caption of Radio/Option Buttons Dynamically?
    By e4excel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-29-2009, 05:40 PM
  7. [SOLVED] Back color of dynamically-created buttons
    By simon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2005, 07:06 AM

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