+ Reply to Thread
Results 1 to 5 of 5

Set Default Font for all option Buttons

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,876

    Set Default Font for all option Buttons

    I would like to know if it is at all possible to set a default font setting in the properties for all the option buttons on a userform as well as the backcolor and forecolour


    If so, please advise how to do this
    Attached Images Attached Images

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,446

    Re: Set Default Font for all option Buttons

    .
    In the past I have created the first OPTION BUTTON with all the properties set. Then when creating another OPTION BUTTON, I copied the first one and pasted it where needed.


    I would presume, if you can GOOGLE for all the properties of an OPTION BUTTON (in VBA CODE), you could utilize the following code in the USERFORM_INITIALIZE event :

    Please Login or Register  to view this content.
    Keeping in mind the above macro is just an example ... it will need to be edited to fit your specific purposes and it needs to refer to a USERFORM instead of the ACTIVE SHEET.

    Hopefully something in this post will provide an incentive to pursue.

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,876

    Re: Set Default Font for all option Buttons

    Thanks for your input and help in this regard

  4. #4
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,475

    Re: Set Default Font for all option Buttons

    CTRL-click each OptionButton to select them, then use the Properties Window to set the font properties (actually, any available properties) to the values you want.

  5. #5
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,876

    Re: Set Default Font for all option Buttons

    Thanks for letting me know Rick

+ 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] dynamically created option buttons - change font color of caption
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-04-2018, 11:44 AM
  2. enable certain combo buttons based on user selected option buttons
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-20-2013, 06:43 AM
  3. [SOLVED] Multiple option buttons - Need VBA to disable second group of option buttns based on respo
    By ex123 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-19-2013, 03:30 AM
  4. How can I insert multiple sets of option buttons (radio buttons) in Excel 2010?
    By mickwooduclan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2013, 10:01 AM
  5. [SOLVED] Disabling an Entire Frame with Option Buttons if other Option Buttons are not clicked.
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-20-2012, 04:07 AM
  6. Unequal font sizes in captions of option buttons
    By Tspringer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2009, 06:26 PM
  7. [SOLVED] Option Buttons-putting questionaire using options buttons
    By Ashman in forum Excel General
    Replies: 2
    Last Post: 07-10-2005, 04:05 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