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
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