Screen Refresh (Ghost) Problem

RakRoss

New Member
Joined
Sep 25, 2015
Messages
3
Screen Refresh Problem

Hi,

New to the forum and have had the same problem as in this post:

http://www.mrexcel.com/forum/excel-questions/430562-screen-refresh-problem.html

The solutions here haven't solved the problem I have. I'm using the Excel 2013 and get the ghost image that disappears after scrolling or changing tab. This appears over the top of the current worksheet and only occurs after certain macros are run in the book.I can't seem to get it to go. It usually occurs when i run a macro that hides or un-hides a large amount of tabs.

Currently I just use .visible = false for all tabs to hide.

Would be great to get this sorted so any help is appreciated!

Thanks in advance

RR​
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I have had them start with Application.ScreenUpdating = False and end in Application.ScreenUpdating = True. Ive also run them with out either and the problem presists :s
 
Upvote 0
I was having a massive problem with this "ghosting" issue of segments of a previous screen displaying over the top of the current one after running VBA, the code found here - Redraw screen? - Excel General - OzGrid Free Excel/VBA Help Forum , finally solved it for me (albeit added to the end of existing VBA, rather than specifically run at Workbook close);

VBA Code:
[LIST=1]
[*]Sub Workbook_BeforeClose(Cancel As Boolean)
[*]Dim wSheet As Worksheet
[*]On Error Resume Next
[*]Application.ScreenUpdating = False
[*]For Each wSheet In Worksheets
[*]wSheet.Select
[*]Range("A1").Select
[*]Next
[*]Application.ScreenUpdating = True
[*]End Sub
[/LIST]
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,028
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top