Simulation , image control does not display images in correct order - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Simulation , image control does not display images in correct order

jonneyjonney Posts: 1Member
Hey guys/ girls:

I am making a simulation in excel, but i am running into a problem

here is the code

boxes1.Picture = box3
Application.Wait (Now + TimeValue("0:00:03"))
Application.ScreenUpdating = True
boxes1.Picture = box1
Application.Wait (Now + TimeValue("0:00:03"))

in the code boxes1 is the image control box3, and box1 are IPicDisp

You would think that as that code runs, i would first see box3 picture wait a couple of seconds and then see box1. But vba is not doing this. Instead it never displays box3 and shows box1 after 6 seconds. That is not what i want!!!

Has anyone run into this problem before?

Thanks for the help


Sign In or Register to comment.