Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , ,

Sponsored Links



Inserting an gif file in Excel

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-01-2009
Member
 
Join Date: Dec 2008
Posts: 166
Inserting an gif file in Excel

Hi friends,
I want to add a animated gif file in my Excel sheet.Is there any way or procedure where i can add my file in excel Sheet.
Reply With Quote
  #2  
Old 08-01-2009
chroma's Avatar
Member
 
Join Date: Apr 2008
Posts: 2,144
Re: Inserting an gif file in Excel

Sure i can help you out with that before may ii know which Office are you using are Xp/2003/2007.
Reply With Quote
  #3  
Old 08-01-2009
Member
 
Join Date: Dec 2008
Posts: 166
Re: Inserting an gif file in Excel

I am using Office XP.
Reply With Quote
  #4  
Old 08-01-2009
chroma's Avatar
Member
 
Join Date: Apr 2008
Posts: 2,144
smile Re: Inserting an gif file in Excel

Sure you can add an Animated gif file to excel by following the Steps Below:-
  1. You First need to insert the image into a control.
  2. To insert the control,you need to go View menu-->Toolbars -->Control Toolbox
  3. Then Activate the Design mode
  4. Choose the button(the one with a hammer), then select Microsoft Web Browser.
  5. Draw a frame to receive the image.
  6. Disable the first button Design mode and the toolbar.
  7. In VBA editor and in the window of the paper concerned paste the following code:

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

Change the active page of the spreadsheet, and then return on the page containing the animation, to see your animated gif file is working or not.
Reply With Quote
  #5  
Old 08-01-2009
Member
 
Join Date: Dec 2008
Posts: 166
ThumbsUp Re: Inserting an gif file in Excel

Thanks Chroma it worked out for me.
Reply With Quote
  #6  
Old 09-06-2009
Member
 
Join Date: Jun 2009
Posts: 1
Re: Inserting an gif file in Excel

Chroma,

I have a newbe question regarding your post, if you have the time...

I have not worked with VBA before so while I can get to the VBA editer in Excel (alt-F11), I am not sure how to "7.In VBA editor and in the window of the paper concerned paste the following code:" and then the step "Change the active page of the spreadsheet". I can copy and paste code and I have the full path of my gif I am just not sure where to put it.

Thanks in advance.

maxtor2
Reply With Quote
  #7  
Old 17-03-2010
Member
 
Join Date: Mar 2010
Posts: 1
Re: Inserting an gif file in Excel

I have a problem which made me feel so sad and unhappy. The code given was work out and excellent, but if you have to distribute and share to others, it won't worked ! Because the code cannot find the image (gif) that I store in my drive.

Is there any solution of it ?

Thank you !
Reply With Quote
  #8  
Old 17-03-2010
Raine's Avatar
Member
 
Join Date: May 2008
Posts: 3,287
Re: Inserting an gif file in Excel

The solution to this problem is quiet simple you need to give the gif file to with the code in order to make that working on a different system. Ask the user to change the path of the file that is replace the "X:\Full path of the image.GIF" from the above code with the path of the gif file. Hope this will help you.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Inserting an gif file in Excel"
Thread Thread Starter Forum Replies Last Post
After inserting hyperlink it is not working in Microsoft Excel Chachhi MS Office Support 3 1 Week Ago 07:45 PM
Inserting a Row at the end of a Table in Microsoft Excel Ramanujan MS Office Support 2 1 Week Ago 02:06 PM
auto size the jpeg files into excel while importing and inserting pictures Raju Chacha Windows Software 3 07-01-2012 11:37 AM
Issue while inserting pivot Tables in Excel 2003 Clemens Windows Software 3 29-04-2009 05:30 PM
Inserting the file location in the footer Andrew Microsoft Project 3 01-08-2008 09:57 PM


All times are GMT +5.5. The time now is 05:37 PM.