To add other events on other pages, you must do the same by adding the VBA procedure on each page. WebBrowser2.Navigate 'X:complete path image.GIF'
To add other events, proceed in the same way each time adding a line to the above code, taking into account the control number assigned. WebBrowser1.Navigate 'X:complete path image.GIF'Ĭhange the active page of the spreadsheet, and then turn on the page containing the animation, to see the if it works. Next, paste the following code in the VBA editor: Private Sub Worksheet_Activate() Then, select Microsoft Web Browserĭraw a frame for the image and disable Design mode and the toolbar. Next, activate Design mode and choose the last button (the one with a hammer). To insert the control go to View > Toolbars > Control Toolbox. To insert an animated gif image in an Excel spreadsheet, you must insert the image into a control. To insert the animated gif in other pages, the same VBA procedure can be utilised. Once the procedure is completed, the active page of the Excel sheet must be changed and has to be visited again to check the animation is working. VBA code is an integral part of inserting an animated gif in Excel. This can be done through Control Toolbox, Design mode and Microsoft Web Browser. The animation will work only when the image is inserted into a control. In an Excel workbook, it is possible to insert an animated GIF. Charlie Culberson Hits A Walk-Off Home Run To Left Field, Giving The Dodgers The National League West Title image tagged in gifs,charlie culberson,home run,los angeles,dodgers,national league west title made w/ Imgflip video-to-gif maker.