screen draw Bug workaround

roscoe

Well-known Member
Joined
Jun 4, 2002
Messages
1,046
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I have a routine that calls a combo box, and when the mouse selects a cell away from the combobox it is supposed to disappear. It works in the sample file...in mine, it hangs around but if I move the screen (mouse wheel, page-up/down, etc) such that the box goes off the screen and then bring it back again, the combo box has gone away and all is normal. It appears to be a screen draw bug.

Is there some code I can add that will refresh the screen to make the box go away without have to manually force the refresh as described above?

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Well, as ususal MS help is useless. It appears to be a method but MS Help doesn't show how to use it or what it is attached to.

???
 
Upvote 0
Well, I did it by brute force....I added a scrolldown/scrollup sequence that did the trick.
 
Upvote 0
Didn't work...box stays in place until that section is moved off the screen.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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