MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Apr 28th, 2002, 12:58 AM   #1
coneyglaze
New Member
 
Join Date: Apr 2002
Location: Fort Worth
Posts: 13
Default

Is it possible (and I know with excel anything is possible) to conditionally format with blinking (Flashing) text and/or flashing cell color.
coneyglaze is offline   Reply With Quote
Old Apr 28th, 2002, 01:03 AM   #2
Tom Schreiner
Board Regular
 
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
Default

I don't know?
Will definitely see if I can though...
Be back in a minute
Tom
Tom Schreiner is offline   Reply With Quote
Old Apr 28th, 2002, 01:05 AM   #3
Tom Schreiner
Board Regular
 
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
Default

What are the conditions and in which cells?
Condition(s) to blink = ?
Condition(s) to not blink = ?
What colors do you want?
Blink black and white?
Red and white?
ect...
Do you want the font to blink or the cell interior?
Tom

[ This Message was edited by: TsTom on 2002-04-28 00:10 ]
Tom Schreiner is offline   Reply With Quote
Old Apr 28th, 2002, 01:15 AM   #4
Tom Schreiner
Board Regular
 
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
Default

The following will cause cell A1 to blink Red and White until a value of 10 or greater is entered...

Tom



Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
If Target.Value < 10 Then
BlinkBlink Sheet1.Range("A1")
End If
End If
End Sub

Sub BlinkBlink(BlinkingRange As Range)
Dim Start
Do Until BlinkingRange.Value >= 10
Start = Timer
Do While Timer < Start + 1
If Timer = 0 Then Start = Timer
DoEvents
Loop
If BlinkingRange.Interior.ColorIndex = 3 Then
BlinkingRange.Interior.ColorIndex = 0
Else: BlinkingRange.Interior.ColorIndex = 3
End If
Loop
End Sub


Tom Schreiner is offline   Reply With Quote
Old Apr 28th, 2002, 01:15 AM   #5
coneyglaze
New Member
 
Join Date: Apr 2002
Location: Fort Worth
Posts: 13
Default

Let's say the condition to blink will be a dollar amount above $500.00 > less not to blink. The cells this will be in will differ at any given sheet. Does that help any?
coneyglaze is offline   Reply With Quote
Old Apr 28th, 2002, 01:17 AM   #6
Tom Schreiner
Board Regular
 
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
Default

Huh?

A double-click in any cell exits the procedure?
I wonder why that is?
Tom Schreiner is offline   Reply With Quote
Old Apr 28th, 2002, 01:23 AM   #7
Tom Schreiner
Board Regular
 
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
Default

Thats alittle too vague...
Will need a range of cells to work with..
Thanks,
Tom
Tom Schreiner is offline   Reply With Quote
Old Apr 28th, 2002, 01:31 AM   #8
coneyglaze
New Member
 
Join Date: Apr 2002
Location: Fort Worth
Posts: 13
Default

Cell range can be A1:A50 should cover what I need this for.

coneyglaze is offline   Reply With Quote
Old Apr 28th, 2002, 01:49 AM   #9
Tom Schreiner
Board Regular
 
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
Default

right-click on your sheet tab, choose view code, paste the procedures below...




Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then
If Target.Value > 500 Then
BlinkBlink Sheet1.Range("A" & Target.Row)
End If
Columns(1).Interior.ColorIndex = 0
End If
End Sub

Sub BlinkBlink(BlinkingRange As Range)
Dim Start
Do Until BlinkingRange.Value <= 500
Start = Timer
Do While Timer < Start + 1
If Timer = 0 Then Start = Timer
DoEvents
Loop
If BlinkingRange.Interior.ColorIndex = 3 Then
BlinkingRange.Interior.ColorIndex = 0
Else: BlinkingRange.Interior.ColorIndex = 3
End If
Loop
End Sub



Tom Schreiner is offline   Reply With Quote
Old Apr 28th, 2002, 02:37 AM   #10
coneyglaze
New Member
 
Join Date: Apr 2002
Location: Fort Worth
Posts: 13
Default

That is what I needed.........Sorry it took me a while to get back to you to let you know. I yelled out THAT IS IT so loud, that I woke my baby up .......not a good thing at 3:36am if you know what I mean .......I have worked on this all day.... and I knew it could be done........THANK YOU
coneyglaze is offline   Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes