+ Reply to Thread
Results 1 to 6 of 6

Load GIF Picture from Userform

  1. #1
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Load GIF Picture from Userform

    Hello,

    I have a userform and i just want to add a "processing" gif image.
    I have loaded it but the picture doest not animating.

    Hope you can help me. I have attached my file.

    The url of the image is on this link: Processing GIF


    Thanks in advance gurus!
    Attached Files Attached Files

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

    Re: Load GIF Picture from Userform

    You can't put an animated gif in an Image control. It simply won't work.

    You could use a web browser control but it will need to be quite big for the image to show properly.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Load GIF Picture from Userform

    Quote Originally Posted by romperstomper View Post
    You can't put an animated gif in an Image control. It simply won't work.

    You could use a web browser control but it will need to be quite big for the image to show properly.
    Can you provide me an example please?

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

    Re: Load GIF Picture from Userform

    Just add a Microsoft Web Browser control using the 'additional controls' option, then in the initialize event use something like:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Load GIF Picture from Userform

    Quote Originally Posted by romperstomper View Post
    Just add a Microsoft Web Browser control using the 'additional controls' option, then in the initialize event use something like:
    Please Login or Register  to view this content.
    I have added the Web Browser control using the 'additional controls' option and put the below code in the commandbutton click event
    Please Login or Register  to view this content.
    but when I'm trying to execute it, it gives me an error 'Method or data member not found'?

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

    Re: Load GIF Picture from Userform

    When you type Me. in the code, does Webbrowser1 appear in the Intellisense list? (I assume you did add the control to the form)

+ 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. Load picture in Userform from images in the same workbook.
    By sgangaprakash in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-01-2014, 02:46 PM
  2. [SOLVED] Open File, Load Picture and on reopen (Initialize) the picture loads.
    By jquintana83 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2014, 12:05 PM
  3. Combobox (picture load to userform)
    By naseerrurahaman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2013, 09:55 AM
  4. [SOLVED] Cannot load picture from file!
    By David Avsajanishvili in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-27-2005, 10:06 PM
  5. How to load a .bmp picture into a cell?
    By Andrew in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2005, 01:06 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