+ Reply to Thread
Results 1 to 42 of 42

Cell to flash if contains a value

  1. #1
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Cell to flash if contains a value

    Hi all

    I have a cell that is condition formatted that if a value appears the change to red, CAN I get that cell to Flash when occupied. ???

    Pete
    One I have learnt over the last few months, " You are NEVER too old to learn ".
    Sometimes I forget to say " Thank You " for your assistance, so here I say " A BIG Thank You. "

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,165

    Re: Cell to flash if contains a value

    Hi potholes,

    It looks like some code has been written to do what you want. See this link:

    https://ccm.net/faq/29065-excel-a-ma...e-cells-blinks

    If that doesn't help then keep asking.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Hi all

    Marvin put me on to this code and I only need it to flash if cell N6 or N13 has a V or W

    will this code do it for me please.



    Please Login or Register  to view this content.


    Thank you in advance

    Pete

  4. #4
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Hi all

    In post #3 here is some code unfortunately it is not working when something is entered into cell N6

    Can anyone assist please

    Pete
    Last edited by Potholes; 07-20-2019 at 12:20 AM.

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,154

    Re: Cell to flash if contains a value

    it is not working when something is entered into cell N6
    Hi Peter

    It will never work as there is no event triggering the cell change...Put this code into your sheet Module
    Please Login or Register  to view this content.
    Another link here
    Attached Files Attached Files
    Last edited by sintek; 07-20-2019 at 03:21 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  6. #6
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Good afternnon Sintek

    I have 2 sets of code with the same name here, I am unsure how to change it.



    Please Login or Register  to view this content.

    Pete

  7. #7
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,154

    Re: Cell to flash if contains a value

    Nothing is just plain sailing with you is it lol...
    Will have to incorporate all the events into one...

  8. #8
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Hi Dave ???

    I haven't seen you around lately/

    You been talking to Ali again.
    Ali has been teaching many aspects Excel and behaviour over the last months or so
    to the point I think she has gone grey.

    But I have the absolute respect for her.

    Many thanks for your help here/

    Pete

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    It's my blood pressure I'm having to control, Pete. Hair is fine - just one grey streak in what is otherwise still very dark hair, and that was there long before I 'met' you.

    Sintek hasn't conferred with me - he's reached that conclusion all by himself.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  10. #10
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    OOPPS

    The boss lady was watching me again.
    NO INSULTS INTENDED.


  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    No offence taken - skin like a rhino's.

  12. #12
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Hi All

    Is there anyway of joining these 2 statements because they are clashing
    due to the first line Statements.
    Please Login or Register  to view this content.



    Many Thanks
    Last edited by Potholes; 07-20-2019 at 05:10 AM. Reason: Incorrect code entered.

  13. #13
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,154

    Re: Cell to flash if contains a value

    Just have one sub

    Please Login or Register  to view this content.

  14. #14
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Hi All

    I guess it would help if I put up the correct code causing the grief.




    Please Login or Register  to view this content.

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Oh, God!

    YES, Pete, it certainly would ...

  16. #16
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    That what happens when you try to program and put out family fires at the same time.

    But I am the nut on the keyboard.
    Last edited by Potholes; 07-20-2019 at 08:05 AM.

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Multi-tasking - necessary life skill.

  18. #18
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Ali

    I have 3 Code functions that are clashing, for clarification should I put the file here containing the 3 clash of the titans. ???

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Yes - let's get this resolved here.

  20. #20
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Good Morning All

    On advise from Ali I have placed this post here.

    Attached is my file called Enduro_1, Thanks to the many that have had input in one way or another,
    to get these 3 sets of code to work.

    I have 3 Code functions that are clashing, If I try to do something on the front page the brute throws
    back errors to me, I would appreciate if someone could sort this out for me please.

    Please Login or Register  to view this content.
    73s

    Pete
    Attached Files Attached Files
    Last edited by Potholes; 07-21-2019 at 12:42 AM. Reason: Added info

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    OK - so I've moved the clear macro to its own module (as was suggested by one of the experts the other day) so that now works, and I've sorted out the conflict, I think.

    Can you now test the sheet and see if the two sets of code remaining in the worksheet itself are working as you expect?

    If not, tell us (a) what each is meant to do and (b) what, if anything, is happening instead.
    Attached Files Attached Files

  22. #22
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Good morning Ali


    Thank you for taking your time away from your Family time to look at my file.

    The code below is not working, when you enter a lowercase v or w into "Front sheet "
    L6 it should turn into uppercase.

    Re the other code, if you enter a rider number in " Front Sheet" D6 that has been Vetted
    out or withdrawn cell N6 or N13 will flash. THAT IS OK..

    For my edification, Please advise where the other Clearing module is located.

    Please Login or Register  to view this content.

    73s

    Pete

    As my Grandson would say " Your frusterating student"

  23. #23
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Morning, Pete!

    It's 0645ish here - the lark and I are up. The other half is still asleep and daughter is away for the summer visiting family up north. The cats have been for breakfast and gone again, so it's just me.

    I am going to grab a second caffeine shot (bracing myself) and then I will see if I as another VBA novice can help work this out with you.

  24. #24
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    So for your edification, Pete, whilst I see if I can fathom what's wrong with that code:
    Attached Images Attached Images

  25. #25
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Thank for that module NOW I know what he was talking about, ( Brain overload this week. )
    Last edited by AliGW; 07-21-2019 at 02:18 AM. Reason: Please don't quote unnecessarily!

  26. #26
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    I've gone back to basics with the capitalisation code.

    Please test the attached thoroughly, making sure that all three codes are doing what they are supposed to do.
    Attached Files Attached Files

  27. #27
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Quote Originally Posted by AliGW View Post
    I've gone back to basics with the capitalisation code.

    Please test the attached thoroughly, making sure that all three codes are doing what they are supposed to do.
    Thank you this code stopped working now

    If you enter 5 or 14 into D6 N6 should flask

    Please Login or Register  to view this content.

  28. #28
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Sorry, Pete - that was the wrong workbook. Please test this one.
    Attached Files Attached Files

  29. #29
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Quote Originally Posted by AliGW View Post
    Sorry, Pete - that was the wrong workbook. Please test this one.

    Guess what now, They all work now Thank You .


    I have one question tho, could some of those VBA codes go into their own module as did the clear codes. ??

    Stand by for the next installment.

    Regards

    Your Adult Student.

    Pete

  30. #30
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Great!

    This thread has now run its course - please mark as solved.

  31. #31
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    I have one question tho, could some of those VBA codes go into their own module as did the clear codes. ??

  32. #32
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Cell to flash if contains a value

    I've done the effort so I'm throwing mine in also.
    Attached Files Attached Files
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  33. #33
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Regarding modules v. worksheet - over to the experts! Maybe ...

  34. #34
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Hi Rudi

    Can you reply to my post 31 pse

    Where can I download the PDF on learning VBA, someone sent me a link for Power Query, so
    I would like the same sort of manual for VBA if it is available

    Many thanks for your input.

    73s

    Pete

  35. #35
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Link removed ... Potential copyright issue.
    Last edited by AliGW; 07-22-2019 at 04:03 AM.

  36. #36
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,154

    Re: Cell to flash if contains a value

    Amazes me how the initial request which was solved in post5 becomes a 3 page problem not even pertaining to the post title
    Surely the clashes of the code should have been addressed in an entire new post?
    Just my 3 cents...

  37. #37
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: Cell to flash if contains a value

    Quote Originally Posted by sintek View Post
    Amazes me how the initial request which was solved in post5 becomes a 3 page problem not even pertaining to the post title
    Surely the clashes of the code should have been addressed in an entire new post?
    Just my 3 cents...
    Hi Dave

    I refer you back to this post and the post sheets 28 29.

    https://www.excelforum.com/excel-pro...ml#post5159423

    You were not around so it may have been addressed in a different manner. I can't blame anyone for my lack of knowledge.


    Peter

  38. #38
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    Surely the clashes of the code should have been addressed in an entire new post?
    Under normal circumstances, yes. However, I instructed Pete on this occasion to do what he did as we were already getting a proliferation of threads, each overlapping in some way or another.

    I have advised Pete to try to keep it simple in future - one thread (one issue) at a time so we don't get the confusion we have had in recent times.

  39. #39
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,154

    Re: Cell to flash if contains a value

    Thanks for clarification AliGW...Now i get it
    As Pete said...Referencing the other threads...I was not around for those where Rudi & yourself had assisted...

  40. #40
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,299

    Re: Cell to flash if contains a value

    @Ali: maybe he got permission but ...

    Copyright © 2013 by John Wiley & Sons, Inc., Hoboken, New Jersey
    Published by John Wiley & Sons, Inc., Hoboken, New Jersey
    Published simultaneously in Canada

    No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permit- ted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http:// www.wiley.com/go/permissions.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  41. #41
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,271

    Re: Cell to flash if contains a value

    I've removed the link as a precaution.

  42. #42
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,299

    Re: Cell to flash if contains a value

    Probably a good move

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Request on how to get another cell to flash
    By officerjason in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2017, 05:13 PM
  2. Cell flash issue
    By slim69 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-04-2010, 07:20 AM
  3. Flash Cell with Color
    By flds in forum Excel General
    Replies: 0
    Last Post: 07-07-2009, 10:57 PM
  4. Cell flash
    By Parky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-23-2007, 05:45 AM
  5. Can a cell be made to flash?
    By newman in forum Excel General
    Replies: 2
    Last Post: 04-04-2006, 06:40 AM
  6. [SOLVED] how can i get a cell to flash or blink
    By Lee K in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-26-2006, 11:27 PM
  7. [SOLVED] How do you cause a cell to flash in Excel?
    By Tim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-19-2006, 12:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1