Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Unwanted "Flashing" of screen

I'm using the following code to hide the "WelcomePage" (dim'ed as a const).
However, I'm unable to remove the momentary "flash" of the "WelcomePage"
before it is hidden.
Using Application.ScreenUpdating doesn't seem to help.
Any suggested changes to the code to remove the unwanted "flash" of that
sheet?
Thanks,
Jack

Private Sub ShowAllSheets()
'Show all worksheets except the macro welcome page
Dim ws As Worksheet
Application.ScreenUpdating = False ' added
For Each ws In ThisWorkbook.Worksheets
'If Not ws.Name = WelcomePage Then ws.Visible = xlSheetVisible
ws.Visible = xlSheetVisible
Next ws
Worksheets(WelcomePage).Visible = xlSheetVeryHidden
Application.ScreenUpdating = True ' added
End Sub


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 / Display "TRUE" "FIX" Sherry Excel Discussion (Misc queries) 3 September 10th 09 01:03 AM
Stop the "flashing" when I execute an Excel macro? Corinne Excel Discussion (Misc queries) 4 June 25th 09 08:09 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
On Window change, a "flashing" screen Neal Zimm Excel Programming 2 October 2nd 06 08:41 PM
Screen "Flashing" on Window change Neal Zimm Excel Discussion (Misc queries) 0 September 28th 06 01:35 PM


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