LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Screen Updating

I have a part of code that runs having ScreenUpdating set to False,
then activates a sheet, and sets ScreenUpdating to True:

Application.ScreenUpdating = False
....
....
Sheets(1).Activate
Application.ScreenUpdating = True


The Sheet(1) contains a ListBox (ActiveX Control), and although the
sheet is activated before ScreenUpdating is set to True, the part of
the screen that contains the ListBox is not updated, and shows the
corresponding part of the screen of the previous sheet (the one that
was activated before Sheets(1).Activate).


Is there a method to specifically update the screen or the ListBox?

The only way I have found to have the listbox updated, is to turn on
ScreenUpdating before the sheet activation:

Application.ScreenUpdating = False
....
....
Application.ScreenUpdating = True
Sheets(1).Activate

Is there another way?

thanks in advance
KG.
 
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
Screen updating Mark Stephens Charts and Charting in Excel 0 February 18th 05 03:55 PM
Screen updating Keith[_11_] Excel Programming 2 June 2nd 04 01:10 PM
Screen Updating SmilingPolitely Excel Programming 4 April 14th 04 04:17 PM
Screen Updating Chilidog1000[_2_] Excel Programming 1 January 6th 04 08:18 PM
Screen Updating Jase Excel Programming 1 October 23rd 03 05:05 PM


All times are GMT +1. The time now is 04:55 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"