Why is the screen flashing when I insert a picture?

Rufius

New Member
Joined
Sep 1, 2012
Messages
34
I have a project that inserts pictures in a worksheet, as triggered by a worksheet_change event.

The problem is, whenever I trigger the event, and the pictures are inserted automatically, there is a brief flash that is very unappealing. I have tried everything I can think of isolate the problem, but nothing seems to fix it. As a last resort, I even once put "Application.ScreenUpdating = FALSE" lines between every other line throughout the code of the entire project, and that still made no difference.

Here's how to replicate the flashing: (file attached)
1. Select the "Generator" worksheet.
2. Click the "Get FilePath" Button and browse to a picture in the folder you just downloaded
3. Click the "Start Session" Button
4. Enter any 3 digit number for "Subject ID Number", and enter the letter "A" into the "Session Code Box"
5. After it redirects you (the framing of the pictures will probably be off, since this is optimized to work with one specific computer) click anywhere on the gradient bar to trigger the flashing.

As you click on the bar, code in the "Tester" Object records the location of the click in the "Generator" worksheet, and "Section for similarity" code in the "Generator" Object Code opens the next picture.

Please let me know if this box.com link is an improper way to supply the necessary file
HTML:
https://www.box.com/s/16i00dbbb8t1l9wa94nn

I hope this is enough information - I suspect the solution to my problem is simple. Thanks for any suggestion!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,224,551
Messages
6,179,476
Members
452,915
Latest member
hannnahheileen

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