How To Have A Message Pop Up And Blink For A Few Seconds Then Go Away
Aug 27, 2009
With all the formulas working (or at least through testing so far they are), I am now in the make the worksheets fancy mode.
I want to have a message pop up when the leader of the meet changes. I would love it if it would blink for a few seconds to alert the individuals looking at the worksheet but then it would disapear so as not to be annoying.
For example:
In event 1, team a is first, and team b is second.
Event 2 finishes, and I post the results in the spreadsheet.
In event 2, team b takes over the lead and team a is now second Place.
I wold like a message to appear (for a few seconds) saying (and blinking something like "Team A, Just Took Over 1st Place!" and then goes away.
I trying to figure a formula to convert time on a phone call eg. 01:01:21 into total seconds (3661). Phonecalls will never be more than an hour long but the spreadsheet I will be supplied with (havn't got it yet!) will display them in the 00:00:00 format.
I am trying to convert a number of "hours" "minutes" and "seconds", to give me a result in seconds only, in order that I may then financially cost the amount of time spent on a task. (A time and motion costing exercise)
Example:
1119:48:06 Represents 1119hours:48minutes:36seconds spent on a task.
I can manually convert this to 4031286 seconds, but it just takes too much time !!!(sorry!)
The data is extracted from a database which is unable to split the hours,minutes,seconds into seperate fields, which prevents me from using three cells in excel.
I have a doc which requires users to enter their info/request, BUT for whatever reason the users always seem to leave a cell/box empty and leaving me guessing
Is there a way to make cells/boxes BLINK and once info/value is entered the cells/boxes will stop BLINKing
This code works fine on a normal userform But I declared the userform with "New" in my calling procedure
myForm As New form
How can I get it to work?? Or more interesting, why is it not working Also what exactly is the advantage of using the keyword New I have propertys set in the userform, but other than that.. Can someone tell me if the load function in this case is better or not
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub cmd_click Call blink End Sub
Public Sub Blink() Dim i As Long For i = 1 To 20
' set color Form.cmd.BackColor = &HFFFFFF DoEvents Call Sleep(60)
I'm creating my task file in excel 2007. In this file there is column for task description, Intimation date, start date, Set completion date, completion date and remarks. I want in intimation date cell, cell contain the date which is 5 days before the start date and the cell/text(date) blink until the start date come. if the task completed in the defined completion date, "complete in time" is written automatically in remarks column, and if completion date is after the set completion date for the task "delay in completion" written automatically in remarks column.
Sr. No. Intimation date Task Description Start Date Set Completion Date Completion Date Remarks
I have written the following code for blinking text.
But what I want is :
Suppose if I have a range of cells, in which I have text in red & green color.
Then whether it is possible to blink the text in red color only in a selected range ?
My Code :
Sub StartBlink() With ThisWorkbook.Worksheets("Sheet1").Range("c3:c6").Font If .ColorIndex = 3 Then ' Red Text .ColorIndex = 2 ' White Text Else .colorindex = 3
Below is my code to display a seconds count down timer in a textbox.
What I want to be able to do is have another textbox where I can enter the number of seconds that the timer will count down.
I don't know how to take a value from the textbox and make it like #12:00:15 AM#
How would I do this?
Sub warmTimer() Dim InitialTime As Single Dim FinalTime As Single InitialTime = Time FinalTime = InitialTime + #12:00:15 AM# Do txtTimer.Text = Format((FinalTime - Time), "s") Loop Until (Time >= FinalTime) Or (Skip = 1) txtTimer.Text = "Time complete" End Sub
Is there a way to make a macro delay for like 30 seconds before it does its thing? What I'm trying to do is have something turned off before the spreadsheet is saved, and after the spreadsheet is saved have a macro that runs 30 seconds afterwards to turn said feature back on. On error this macro will simply terminate.
I have a value of 0:01:20.555 in a cell in the form of hh.mm.ss.111 and I want to get the adjacent cell to display that value in just seconds (ss.11 to be precise).
So say for example I used 0:01:20.555 (1 minute and 20.555 seconds). So the 1 minute is 60 seconds, so overall the time in seconds would be 80.55 (I need to round off to 2 decimal places instead of the previous 3).
I have been searching for quite a while now and cannot figure this out. Basically I have a label named lblCountdown, and that is where I am stuck. Every Do loop, example code, whatever I try won't work. I want a countdown for 10 seconds in my form. The form should show the countdown.
I want to trigger a macro that refreshes a pivot table but I only want to trigger the macro after 15 seconds. The reason is that I am pulling the source data from access mdb so I want only to refresh the data once the data is pulled.
I need to pause for 0.5 seconds (half a second). How can I do that. applicatiom.Wait can only be used for whole seconds and a FOR ... NEXT loop is CPU dependant.