Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Blinking Cell (Worksheet restarts)


I’ve tried adding your code and come up with something like this:

----Module1---

Sub Blink(MyStart, MyFinish)
Dim c As Range
For Each c In Range("C3").Cells
If c.Interior.ColorIndex = 47 Then

c.Interior.ColorIndex = 2 'White

Else
c.Interior.ColorIndex = 47


End If

Next c

Application.OnTime MyStart, "Blink", MyFinish
End Sub



.................................................. .............

---ThisWorkbook---

Private Sub Workbook_BeforeClose(Cancel As Boolean)
MyStart = BlinkTime = Now()
MyFinish = BlinkTime = Now()
Call Blink(MyStart, MyFinish)
End Sub

Private Sub Workbook_Open()
MyStart = BlinkTime = Now() + TimeValue("00:00:01")
MyFinish = BlinkTime = Now() + TimeValue("23:00:00")
Call Blink(MyStart, MyFinish)
End Sub


I have tried applying it and I end up getting cell C3 changing colou
only once. The only other it changes is when I’m about to qui
(ie. It asks me if I want to save or not).

I think it might be missing something&#8230

--
FloggingDolphinPosted from http://www.pcreview.co.uk/ newsgroup acces

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blinking Cell (Worksheet restarts) bhawane Excel Programming 0 June 28th 05 04:46 PM
Working on interactive worksheet (need help with highlighting and blinking cell) FloggingDolphin Excel Programming 0 June 28th 05 03:15 PM
Blinking Cell (Worksheet restarts) FloggingDolphin Excel Programming 0 June 28th 05 03:13 PM
Blinking Cell (Worksheet restarts) bhawane Excel Programming 0 June 27th 05 01:11 PM
Blinking Cell (Worksheet restarts) FloggingDolphin Excel Programming 0 June 24th 05 06:38 PM


All times are GMT +1. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"