+ Reply to Thread
Results 1 to 3 of 3

Textbox dynamic coloring

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Textbox dynamic coloring

    Hello,

    I would like to change the backcolor of textbox1 if the value less than 00:03 seconds then changing in every second to red and after back to white.

    Please, could somebody offer me a way how to do it?

    Please Login or Register  to view this content.
    Thanks in advance the reply.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Textbox dynamic coloring

    Hi Villalobos,

    Try using exactly the same code , but using
    Please Login or Register  to view this content.

    Your timer loop continues to run, even after command button 2 is selected. You need to stop the timer loop before unloading the Userform. This is typical of timer applications.

    Lewis

  3. #3
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: Textbox dynamic coloring

    Hi Lewis,

    Thank you, it is working.

+ 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. Waterfall Chart with automatic coloring and text coloring
    By amartino44 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-19-2013, 05:54 PM
  2. Dynamic Chart Not Changing (With Conditional Coloring)--Example Attached
    By jsgrunwald in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-25-2013, 11:57 AM
  3. Coloring an textbox with VBA intereactively
    By sherry_1991 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2013, 02:01 PM
  4. Selcting a dynamic range of cells and coloring it
    By nynamyna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2011, 01:58 PM
  5. [SOLVED] Dynamic pie chart coloring
    By David in forum Excel General
    Replies: 1
    Last Post: 09-11-2005, 12: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