+ Reply to Thread
Results 1 to 5 of 5

Command Button Font Size

  1. #1
    Forum Contributor
    Join Date
    06-12-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    167

    Command Button Font Size

    Hello,

    I had a strange thing happening with my command buttons on my spreadsheet. When ever they were clicked they would have their text get smaller so after about 3 clicks you couldn't read what it said. I don't have any code changing the font on the boxes and I have the boxes set to not resize and move with the cells. I am stumped on what could cause this. Here is my code behind the buttons
    Please Login or Register  to view this content.
    fsrform_initialize does nothing but open my form and load up the text boxes

    Please Login or Register  to view this content.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Command Button Font Size

    Not sure if this has anything to do with it, but screenupdating is not being turned back on (true) at the end of the 1st code you posted. From what I understand this must be set back to true at the end of the code.
    In this case, since the code is just initializing the form, you may not even need those lines.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    06-12-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    167

    Re: Command Button Font Size

    I have it set to false there so as they are in the form they do not see the screen flashing around as they make changes in the form. Screen Updating is then set back to true when the close the form.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Command Button Font Size

    Yes, I use it myself a lot, although, I've never used it, nor have I ever seen it used when loading a userform. The problem is, with it turned of like that, if users are doing other things in excel, they may not work correctly until it is turned back on.

  5. #5
    Forum Contributor
    Join Date
    06-12-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    167

    Re: Command Button Font Size

    The form has ShowModal=ture so they are not allowed to do anything in excel until they close the form.

    I also found through and bunch of good old fashion googling that it seems to be a Microsoft bug that has to do with if a user has different display settings from their computer. I know for my coworker the text kept getting smaller when she clicked the button with her laptop undocked but then when it was docked the button worked perfectly

+ 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. Userform Command Button Caption (multiple lines & different font size)
    By VAer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2017, 05:08 PM
  2. How to change font size on an Active X controll button ("Command Button")
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-08-2017, 06:12 PM
  3. Change font size on command buttons with VBA
    By ratdogexcel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-10-2013, 03:46 AM
  4. Font Size in Command Button
    By Jones E in forum Excel General
    Replies: 3
    Last Post: 08-07-2011, 06:08 AM
  5. Button changing size and font size
    By jennyc2 in forum Excel General
    Replies: 1
    Last Post: 05-13-2009, 07:53 PM
  6. increase font size of command button name
    By sepandb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2008, 09:15 PM
  7. Control Command Button Font Size Expands
    By timp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2006, 11:10 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