Inserting an animated gif in Excel

Last update on January 7, 2009 09:17 AM by jak58
Published by jak58

Inserting an animated gif in Excel






To insert an animated gif image in an Excel spreadsheet, you must insert the image into a control.

To insert the control, go to the View menu/Toolbars/Control Toolbox
Activate the first button Design mode
Choose the last button (the one with a hammer), then select Microsoft Web Browser .
Then draw a frame to receive the image.
Disable the first button Design mode and the toolbar.
Finally, in the VBA editor and in the window of the paper concerned paste the following code:


Private Sub Worksheet_Activate()
   WebBrowser1.Navigate "X:\complete path image.GIF"
End Sub

Change the active page of the spreadsheet, and then eturn on the page containing the animation, to see the if it working.
To add other events, we must proceed in the same way each time adding a line to the above code, taking into account the control number assigned.

       WebBrowser2.Navigate "X:\complete path image.GIF" 


To add other events on other pages, you must do the same by adding the VBA procedure on each page.


If the size does not fit the image, it must be corrected:

View/Toolbars/ Control Toolbox
You must first activate the button Design mode
Resize the frame and the parameters.
Disable the first button Design mode and the toolbar.
Best answers for « Inserting an animated gif in Excel » in :
Inserting animated gif Show Inserting animated gif An animated gift can be inserted in a powerpoint show like any other graphical format ( e.g bmp, jpg, etc) To enable this: Add a new slide that can contain an image. Select the option “Insert...
Download Ulead GIF Animator Show For your Web site or your PowerPoint presentations, you need animated GIFs to cheer up your pages. Ulead GIF Animator is the most successful and accessible program in term of creation of animated GIF. It allows to create a simple animation sequence....
Inserting an image in gmail when composing a message Show Inserting an image in gmail when composing a message Here is a great way to insert images in your Gmail e-mails. Guaranteed results! Since you have a Gmail account (since you ask this question) you need access to Google Docs. This...
Excel tips : How to insert date in a cell ShowExcel tips : How to insert date in a cell Below are some tips on how to insert date and time in an excel cell for a specific purpose:- To insert current date, press CTRL + ; in the chosen cell. To insert current time, press CTRL+...
Insert an image into a discussion thread ShowInsert an image into a discussion thread Kioskea forum does not allow you to insert images in messages to keep a certain coherence to the forums. However, you can show pictures or screen shots using an image hosting. For those who...
Inserting an Hyperlink in an Excel Worksheet ShowCreating an Hyperlink in an Excel Worksheet Introduction Implementation Linking to a Website Linking to a document Linking to another cell in the spreadsheet Notes Introduction Excel supports the use of hyperlinks and it is a very...
Download Animated GIF producer ShowDescription The application is designed by AVLAN Design. Animated Gif Producer is a tool that allows you to create various animations, buttons and banners to animate your website. Simple and easy to use, the application has been awarded from various...
Download Easy GIF Animator ShowEasy GIF Animator is a powerful and easy-to-use program for creation and edition of animated GIF images. With this GIF file editor, you can easily create animated images, banners and buttons in no time. You can use the special features to add visual...
Download Animated Screensaver Maker ShowIf you have pictures of visual qualities and of high resolutions which you would definitely like to use as screen of wakefulness, without making them therefore march in diaporama. This tool is made for you. Animated Screensaver Maker is as his name...
GIF format ShowGIF format The GIF format (Graphic Interchange Format) is a bitmap (raster) graphic file format developed by Compuserve. There are two versions of this file format developed respectively in 1987 and 1989: GIF 87a supporting LZW compression,...
PC assembly - Inserting memory modules ShowInserting RAM modules There are various types of random access memory. The latest motherboards are equipped with DDR2 or DDR memory. Some are even equipped with RAMBus memory. The oldest ones actually have SDRAM connectors, or even EDO RAM...