+ Reply to Thread
Results 1 to 14 of 14

Blinking / Flashing Object

  1. #1
    Registered User
    Join Date
    09-10-2008
    Location
    Cape Town
    Posts
    7

    Blinking / Flashing Object

    Does anyone know how to make an object, e.g. Oval Object to flash a solid yellow & white colour? It's bugging the hell out of me. I can make blinking cells, but not objects...HELP!!!

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Why would you want to ?
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    09-10-2008
    Location
    Cape Town
    Posts
    7

    Why would I want to?

    Well, I'm a merchant seaman and want to study lights and shapes, the ships signal. I require a flashing yellow light...the light a hover craft uses.
    I think it would be cool too finish it and then share it with the shipping community so they can help them study.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481
    Try this modified version of Chip's blinking text example.
    http://www.cpearson.com/excel/BlinkingText.aspx
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    09-10-2008
    Location
    Cape Town
    Posts
    7

    Thumbs up Thanks Andy

    Many thanks...now to work on project!

  6. #6
    Registered User
    Join Date
    09-10-2008
    Location
    Cape Town
    Posts
    7

    Another spot of bother

    Can I have 2, 3 or 4, etc blinking objects on 1 sheet?

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481
    Yes just add additional code to reference those objects.
    For all objects to blink at the same rate just use the single stop/start blinking routines.

    If you want shapes to blink at different rates then you will need separate stop/start routines calling separate routines to update specific shapes.

    Not that too many different rates of blinking will more than likely cause a problem as you are unable to use excel whilst the code is running.

    You maybe better of using an animated gif which would not require coding.

  8. #8
    Registered User
    Join Date
    09-10-2008
    Location
    Cape Town
    Posts
    7

    All good and well?

    Well, I planned using animated gifs however they don't animate? What am I doing wrong?

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481
    just inserting the gif will not allow the animation to play.
    You need to use this approach
    http://www.excelforum.com/excel-gene...-in-excel.html

  10. #10
    Registered User
    Join Date
    09-10-2008
    Location
    Cape Town
    Posts
    7

    Approach not working

    I must be a real idiot, as I have seen that post but make no sense on the VBA code. i.e. don't work.
    Dose it mean that I cannot see the animated gif unless the sreadsheet is viewed in a web browser?

    Sub Animate()


    'Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)


    With Me.WebBrowser1
    .Navigate "\\...\my pictures\spidey.gif"

    End With

    End Sub

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481
    No, you need to insert a web browser control to the worksheet.
    In the Control Toolbox toolbar is a button called More Controls. Use this to select the web browser control and add it to the worksheet.

  12. #12
    Registered User
    Join Date
    09-10-2008
    Location
    Cape Town
    Posts
    7

    Thanks

    Hi Andy
    Thanks...it seems to be a real "run round". Today's day and age, everything is paperless. Funny Uncle Bill is making is a pain in the...... to add a simple gif file.

  13. #13
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481
    Actually I'm glad. Can you image the horrific spreadsheets you would get if it were too easy to make things flash.

    Perhaps a spreadsheet is not the best application to use.

  14. #14
    Registered User
    Join Date
    06-25-2014
    Location
    saudi arabia, riyadh
    MS-Off Ver
    2010
    Posts
    1

    Re: Blinking / Flashing Object

    how to make an image or picture auto blinking using macro in excel when workbook open.
    please help
    thanks in advance

+ 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. Store Bitmap Object In Excel 2003 To Access Database?
    By Soar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-03-2008, 02:13 AM
  2. Delete Object when Object number unknown
    By inky in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-24-2008, 06:00 AM
  3. Selecting a picture object
    By Bope in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-02-2008, 12:36 PM
  4. Replies: 2
    Last Post: 03-25-2007, 04:08 PM
  5. How to delete an inserted object
    By bksanf01 in forum Excel General
    Replies: 2
    Last Post: 03-14-2007, 07:29 AM

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