LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tim Tim is offline
external usenet poster
 
Posts: 408
Default Listbox control does not get refreshed

I have a listbox control (not a "form" control) on a sheet. After updating
the ListFillRange setting, the row area of the control is not refreshed.
Paging down and back up or changing to a different sheet and back gets the
screen to refresh the area within the listbox. It happens with
ScreenUpdating on.

I have a workaround when i know the box needs to be updated - I set visible
to false and then back to true - but it also happens when a form happens to
overlap the control. When the form is closed, the portion that overlapped
the control is still visible in the control.

Another programmer I talked to had the same problem and did not know of any
better solution. Is this actually a problem with the contol itself, or am I
doing (or not doing) something that creates this problem? Is there a
solution that can keep the listbox refreshed without requiring code anytime
it might possible be affected by a form?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shrinking Listbox from Control Toolbox kumik5000 Excel Discussion (Misc queries) 3 December 5th 08 09:11 PM
Control of Listbox Colors Nigel[_6_] Excel Programming 0 February 21st 04 08:46 AM
Listbox control Robert Couchman[_4_] Excel Programming 1 February 11th 04 09:58 AM
listbox control in VBA Ard Excel Programming 1 January 28th 04 05:53 PM
Enabling checkboxes in a listbox control Tokash Excel Programming 0 October 9th 03 01:07 AM


All times are GMT +1. The time now is 06:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"