ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Listbox data disappearing (from screen only) (https://www.excelbanter.com/excel-programming/336256-listbox-data-disappearing-screen-only.html)

TommySzalapski[_37_]

Listbox data disappearing (from screen only)
 

I have a workbook with an open event that opens another workbook, gets
some data from it, and closes it. The main workbook has a listbox that
is populated from that data. I set ScreenUpdating to false for the
process.

The problem is the list box appears empty when ScreenUpdating is turned
back on. (It's not really empty, if I scroll of the screen and back on
it's all there.) Also, if I don't disable ScreenUpdating, this problem
does not occur.

Why is it doing this and how do I make it stop?

thanks


--
TommySzalapski
------------------------------------------------------------------------
TommySzalapski's Profile: http://www.excelforum.com/member.php...o&userid=25561
View this thread: http://www.excelforum.com/showthread...hreadid=392494



All times are GMT +1. The time now is 04:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com