Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #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.
Reply
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 Michael Excel Worksheet Functions 3 March 14th 05 09:53 PM
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 Stratuser Excel Programming 0 April 16th 04 05:20 PM
Screen Updating Chilidog1000[_2_] Excel Programming 1 January 6th 04 08:18 PM


All times are GMT +1. The time now is 02:54 AM.

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

About Us

"It's about Microsoft Excel"