Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
How do I get text (in a cell) to flash in MS Excel?
Thanks. OH |
#2
![]() |
|||
|
|||
![]()
Ollie,
'VBA CODE EXAMPLES ' 'Created by Bill Manville ' 'To create a blinking cell: ' 'If you define a new Style (Format / Style / Flash/ Add ) and apply 'that style to the cells you want to flash, paste the following code 'into a module sheet and run the procedure Flash from Auto-Open if 'desired you will get the text flashing alternately white and red. Dim NextTime As Date Sub Flash() NextTime = Now + TimeValue("00:00:01") With ActiveWorkbook.Styles("Flash").Font If .ColorIndex = 2 Then .ColorIndex = 3 Else .ColorIndex = 2 End With Application.OnTime NextTime, "Flash" End Sub Sub StopIt() Application.OnTime NextTime, "Flash", schedule:=False ActiveWorkbook.Styles("Flash").Font.ColorIndex = xlAutomatic End Sub HTH, Bernie MS Excel MVP "Ollie Hill" <Ollie wrote in message ... How do I get text (in a cell) to flash in MS Excel? Thanks. OH |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
justify text in a text box in excel | Excel Discussion (Misc queries) | |||
Excel 2002 Will Not Print Text Boxes | Excel Discussion (Misc queries) | |||
I need shortcut in Excel for coping text only and not the entire c | Excel Discussion (Misc queries) | |||
I want Excel to allow cells with formulas and unrelated text | Excel Discussion (Misc queries) | |||
How do I fix text wrapping in Excel? | Excel Discussion (Misc queries) |