Closed Thread
Results 1 to 5 of 5

Make flashing text in the command button in Userform

  1. #1
    Registered User
    Join Date
    12-02-2013
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    89

    Make flashing text in the command button in Userform

    In my Userform I have a command button with the Caption “Email Form Back”.

    How can I make this Caption blink in different colors? I just need the letters to blink not the command button background.

    If I need to update my current code, could you please let me know where I should put it?

    Attached is a sample of my excel document

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Make flashing text in the command button in Userform

    The Changing of a cell or userform field to an unexpected color like red or orange while using the workbook is common and politely indicates to the user attention is needed.

    However, going even further and using blinking flashing text or colors is, and always will be, in my opinion, rude and demeaning to the user.

    Case in point:

    1) Please enter the last name (simple, seems possibly optional)

    1) Please enter the last name (clearly not optional any longer)

    1) Please enter the last name! (clearly not optional any longer, and sounds angry)

    1) Please enter the last name!!! (clearly not optional any longer, and sounds angry and clearly the designer of the sheet now is talking down to me like I'm a child)



    Multiple exclamation points have the exact same effect on me as flashing buttons... they seem to imply I'm a complete idiot, too dumb to actually know when a button or field highlights in red it needs attention.

    So my first, best suggestion to you on this would be:

    1) Change the text or button to red
    2) Change it back when the issue is resolved
    2) Disable the other fields if you really want that field handled immediately and want to control every moment of the user's use of your form
    Last edited by JBeaucaire; 11-27-2015 at 06:39 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    12-02-2013
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    89

    Re: Make flashing text in the command button in Userform

    Hi JBeaucaire

    I understand your point, but the only purpose is for all the required information to be filled and hightligt the send email option. the feeling of making people feel idiot or dumb is not the idea of this task, it is just for notification or grab the user's attention because the command button background is set as transparent.

    Thanks

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Make flashing text in the command button in Userform

    Having built numerous such userforms, I confirm my earlier assertion with this suggestion.

    1) Disable the SEND EMAIL button so it is visible but unclickable

    2) Have a userform_change event that is watching ALL the required fields and only enable the SEND EMAIL button when all required fields are filled in. This is common practice and intuitive, so not being a let to click the SEND EMAIL button should be all the plumbing needed.

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Make flashing text in the command button in Userform



    See here


Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Disable/make invisible command button on userform when table created
    By Mad Moose in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2015, 08:47 PM
  2. [SOLVED] Populate Userform text box with command button in worksheet
    By STU22 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2014, 11:32 PM
  3. UserForm: Command Button enters numeric value to text box
    By Gal403 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-07-2014, 12:01 AM
  4. [SOLVED] how to make preset text command button?
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2013, 06:19 PM
  5. [SOLVED] UserForm Command Button - how to make it change appearance when clicked
    By schmidt62 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2012, 10:53 AM
  6. make userform move with command button
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-18-2008, 11:07 AM
  7. Flashing command button
    By JoeS01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2005, 03:05 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