+ Reply to Thread
Results 1 to 19 of 19

Making a Border Around a Cell Flash

  1. #1
    Registered User
    Join Date
    08-10-2010
    Location
    Overland Park, Kansas
    MS-Off Ver
    Excel 2007
    Posts
    16

    Making a Border Around a Cell Flash

    Hello, could someone please help me. I need to make a border around a cell flash or add something like a tracer around the cell. I need this cell in the workbook to catch a person's eye...

    Suggestions? Help?

    Thank you.
    Last edited by cfscheibler; 08-12-2010 at 02:14 PM.

  2. #2
    Registered User
    Join Date
    08-10-2010
    Location
    Overland Park, Kansas
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Need Help Making Border Around Cell Flash

    any help would be greatly appreciated!

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Need Help Making Border Around Cell Flash

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Need Help Making Border Around Cell Flash

    Try this:

    Please Login or Register  to view this content.
    Hope I don't get scolded for giving this without you following forum rules.
    Cheers
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  5. #5
    Registered User
    Join Date
    08-10-2010
    Location
    Overland Park, Kansas
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Making a Border Around a Cell Flash

    okay, thank you, sorry for not following the rules

    any suggestions?

  6. #6
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Making a Border Around a Cell Flash

    This should work with whatever cell is active.

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-10-2010
    Location
    Overland Park, Kansas
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Making a Border Around a Cell Flash

    Thanks, but this is not really what I had in mind. The code you provided me with puts a border around whatever cell is clicked. I need a border to flash around one particular cell-not every cell clicked. In other words I need a dynamic eye catching border around say cell B2 . When I say tracer I was thinking of like a light pulse constantly running around the cell B2. How can this be done?

    Thanks again.

  8. #8
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Making a Border Around a Cell Flash

    The code you provided me with puts a border around whatever cell is clicked
    You are right, I was trying to make this general for you. Your code would have to provide the particulars about which cell is activated. Once that is done, the code I provided for you will work. As far as making the border flicker around the cell, I don't have a clue. It seems that you want the cell to have an animated border and that is beyond my scope of knowledge. Of course, you can add code to copy the cell, which will give it an animated look but that's all I can offer.

    Cheers

  9. #9
    Registered User
    Join Date
    08-10-2010
    Location
    Overland Park, Kansas
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Making a Border Around a Cell Flash

    Okay, thank you for the reply and help!

  10. #10
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Making a Border Around a Cell Flash

    Don't give up on this forum though, I'm sure someone will be able to assist you. I may be wrong but there should be some kind of code that can give you the same type of cell animation that the copy function does.

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Making a Border Around a Cell Flash

    How about this to display marching ants around the cell.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  12. #12
    Registered User
    Join Date
    08-10-2010
    Location
    Overland Park, Kansas
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Making a Border Around a Cell Flash

    Hey, I think that may work with some tweeking. What I have done is merged cell B2 with cell C2, is there anyway to extend the 'ants' to the merged cell? Currently, the ants are only around B2, and so half of the merged cell has the ants.

    Thank you.

  13. #13
    Registered User
    Join Date
    08-08-2010
    Location
    Tennessee
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Making a Border Around a Cell Flash

    You can try this for B2 and C2 being merged:

    Please Login or Register  to view this content.
    Hope this helps. You can adjust the cells if more or less are merged.

  14. #14
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Making a Border Around a Cell Flash

    Another posibility is:

    Please Login or Register  to view this content.

  15. #15
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Making a Border Around a Cell Flash

    best not to use MergedCells any way

  16. #16
    Registered User
    Join Date
    07-21-2010
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: Making a Border Around a Cell Flash

    If you are simply trying to catch someone's attention when viewing then it might be something as simple as changing the the background color of the cell. If data is changed in the cell the background color could be removed or changed to a different color showing the change was done. Another alternative would be to name the cell "LookAtCell". Any person looking at the spreadsheet would simply go to the drop down menu for named cells and go to where you want them to look.

    Danny

    Danny

  17. #17
    Registered User
    Join Date
    08-10-2010
    Location
    Overland Park, Kansas
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Making a Border Around a Cell Flash

    Thank you for the suggestion Danny. The cell background is currently a different color, however, when testing most users are still having a difficult time finding it. This is why I need to add something else. I have tried adding the code:

    Please Login or Register  to view this content.
    This is significantly better, but is there a way to slow it down and change the border color?

    Thank you for everyone's help!

  18. #18
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Making a Border Around a Cell Flash

    I would suggest that if you need flashing cells in order for your users to work out what to do, then you probably need to rethink your workbook layout.
    (I'm afraid I hate anything flashing in a workbook so I won't address that part on principle.)
    Remember what the dormouse said
    Feed your head

  19. #19
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Making a Border Around a Cell Flash

    If you do want color try this:

    Please Login or Register  to view this content.
    ColorIndx = 5
    makes a blue border and 6 makes a yellow border.

    but is there a way to slow it down
    Yes but it depends on what you want. A slower cycle i.e less changes/time unit or should the macro run last longer?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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