Link to home
Start Free TrialLog in
Avatar of Bright01
Bright01Flag for United States of America

asked on

Display and Disappear Text in Cell

EE Pros,

I am looking for some help in building a macro that does something very simple.  It posts a text confirmation in a cell, to be displayed for 4 seconds, black text, yellow fill, then disappear.  I plan to call the sub from other routines at the end as a confirmation of the sub being completed.

I have mocked up a sample for you.

Thank you in advance......

B.
Macro-for-Displaying-Text-in-a-Cell.xlsm
ASKER CERTIFIED SOLUTION
Avatar of Neil Fleming
Neil Fleming
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bright01

ASKER

Neil,  Great job!  Quick and right to the point.  Appreciate your help with this.

B.
Occurs to me that I reset the cell to white. You may want to put it back as an zero-colour cell, in which case you'd need:

rshow.interior.colorIndex=0

Open in new window

Why not just use a message box at the end of the code? Much simpler in my opinion.
Maybe the formatting could be Conditional based on the text entry. The default formatting won't then need resetting.