+ Reply to Thread
Results 1 to 4 of 4

How in VBA set Font Size for a checkbox?

  1. #1
    Registered User
    Join Date
    01-11-2008
    Posts
    3

    How in VBA set Font Size for a checkbox?

    I have some code that creates two groups of checkboxes on a radar chart (we call them "for tests" and "for series").
    Can not figure out how to setup font.size for it. Tried to stick it in few spots - no luck.
    Attached is a sample couple of checkboxes created by this code (for tests)

    Any suggestions will be appreciated.

    Please Login or Register  to view this content.
    Attached Images Attached Images

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: How in VBA set Font Size for a checkbox?

    Hi there,

    The checkboxes your code is adding are similar to those which can be inserted using the "Forms" toolbar. As far as I know, the fontsize of these controls is fixed and cannot be altered either manually or via VBA.

    If you want to specify the fontsize you must use an activex checkbox control (i.e. those which can be inserted using the "Control Toolbox" toolbar).

    You'll need to use code something like the following:
    Please Login or Register  to view this content.
    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  3. #3
    Registered User
    Join Date
    01-11-2008
    Posts
    3

    Re: How in VBA set Font Size for a checkbox?

    Thank you, Greg!

    For now changing font on check boxes became lower priority, I might get back to it if users demand and will let you know.

    Thanks again!

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: How in VBA set Font Size for a checkbox?

    Hi again,

    Many thanks for your feedback - I'm glad I was able to help.

    Regards,

    Greg M

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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