A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"BLINK"



 
 
Thread Tools Display Modes
  #1  
Old March 7th, 2004, 01:49 AM
Ray
external usenet poster
 
Posts: n/a
Default "BLINK"

newbie question;

Payroll in excell, is there a way to make a specific cell
containing a date "blink" or flash?
Any help would be appreciated.


Ray
Ads
  #2  
Old March 7th, 2004, 02:22 AM
Norman Harker
external usenet poster
 
Posts: n/a
Default "BLINK"

Hi!

Newbie question? If you really must do this you need to use VBA
because, praise be to Microsoft, this feature hasn't been introduced.

Here's a sample of code that goes in the Sheet Module:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Me.Range("MyFlashCell")) Is Nothing Then Exit Sub
Dim n As Integer
Dim NextTime As Date
If Range("MyFlashCell").Value 7 Then
For n = 1 To 5
With Range("MyFlashCell").Font
If .ColorIndex = 2 Then .ColorIndex = 3 Else .ColorIndex = 2
End With
With Range("MyFlashCell").Interior
If .ColorIndex = 3 Then .ColorIndex = 2 Else .ColorIndex = 3
End With
Application.Wait Now + TimeValue("00:00:01")
Next
End If
With Range("MyFlashCell")
..Font.ColorIndex = 3
..Interior.ColorIndex = 2
End With
End Sub


--
Regards
Norman Harker MVP (Excel)
Sydney, Australia

Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
"Ray" wrote in message
...
newbie question;

Payroll in excell, is there a way to make a specific cell
containing a date "blink" or flash?
Any help would be appreciated.


Ray



  #3  
Old March 7th, 2004, 07:00 PM
Ray
external usenet poster
 
Posts: n/a
Default "BLINK"


-----Original Message-----
Hi!

Newbie question? If you really must do this you need to

use VBA
because, praise be to Microsoft, this feature hasn't

been introduced.

Here's a sample of code that goes in the Sheet Module:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Me.Range("MyFlashCell")) Is Nothing

Then Exit Sub
Dim n As Integer
Dim NextTime As Date
If Range("MyFlashCell").Value 7 Then
For n = 1 To 5
With Range("MyFlashCell").Font
If .ColorIndex = 2 Then .ColorIndex = 3 Else .ColorIndex

= 2
End With
With Range("MyFlashCell").Interior
If .ColorIndex = 3 Then .ColorIndex = 2 Else .ColorIndex

= 3
End With
Application.Wait Now + TimeValue("00:00:01")
Next
End If
With Range("MyFlashCell")
..Font.ColorIndex = 3
..Interior.ColorIndex = 2
End With
End Sub


--
Regards
Norman Harker MVP (Excel)
Sydney, Australia

Excel and Word Function Lists (Classifications, Syntax

and Arguments)
available free to good homes.
"Ray" wrote in

message
...
newbie question;

Payroll in excell, is there a way to make a specific

cell
containing a date "blink" or flash?
Any help would be appreciated.


Ray



.
Thanks Norman, think its time for ms to make that

feature available more easily. grin!

  #4  
Old March 7th, 2004, 08:17 PM
Gord Dibben
external usenet poster
 
Posts: n/a
Default "BLINK"

Ray

Good thing you added the "grin!" or you would have the torch and pitchfork
crowd heading for your house.grin

Gord Dibben Excel MVP

On Sun, 7 Mar 2004 11:00:38 -0800, "Ray"
wrote:

Thanks Norman, think its time for ms to make that

feature available more easily. grin!


  #5  
Old March 7th, 2004, 10:52 PM
Norman Harker
external usenet poster
 
Posts: n/a
Default "BLINK"

Hi Gord!

Worse! They did mine just for posting the code!

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia

Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.


  #6  
Old March 7th, 2004, 11:42 PM
Gord Dibben
external usenet poster
 
Posts: n/a
Default "BLINK"

Damn! I'm short on air miles so missed the show.



On Mon, 8 Mar 2004 09:52:01 +1100, "Norman Harker"
wrote:

Hi Gord!

Worse! They did mine just for posting the code!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.