Webbrowsers randomly stops animating when macros are running...

taiandre

New Member
Joined
Jun 5, 2017
Messages
1
Hi,
Here's an example of the bug I have...
I have 3 webbrowsers created in a Spreadsheet. In VBA, I insert an animated Gif in the first Webbrowser with
ActiveSheet.WebBrowser1.Navigate "....path of the animated gif..." THE MACRO PART WORKS FINE!
The first Webbrowser get the animated Gif and it plays. Then, the second line of my macro fills the second Webbrower.
The second gets it's animated Gif ...BUT... the first one STOPS PLAYING. Then the macro fills the third Webbrowser.
The first one animates again but the the second and third don't animate. In the page I'm building
(When finish, my "final work" will contain about 20 Webbrowsers. The macro works fine, filling the 20, but about half are playing and half aren't, and never the same ones).


MY QUESTION... : how can I make sure that whatever the number of Webbrowsers I have in a Spreadsheet, they won't stop animate because a macro is running???
If the answer is that there's no way to prevent them to stop animate while it runs, is there a VBA command that I put put at the end, that will "restart" them all to play?
BTW... I already tried the "DoEvents" trick, and the "flip OFF and back ON the Design Mode" trick... all without success!
Thanks
Andre
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top