I am working with a large Excel spreadsheet full of VBA macros, but I keep running into the infamous Excel glitch that shows a ghost image of one tab on top of the currently selected tab. Has anybody else seen this? Does anybody have any suggestions on how to fix this?
Asked
Active
Viewed 71 times
0
-
3Do you use `.Select` or `.Activate` in your code? If so, don't. There are very very few reasons to do so. See: https://stackoverflow.com/questions/10714251/how-to-avoid-using-select-in-excel-vba – Scott Craner Nov 20 '19 at 15:08
-
I do use both. Do you think that is causing my problem? – Chris Ross Nov 20 '19 at 15:09
-
2Yes I do think that is what is causing the problem. – Scott Craner Nov 20 '19 at 15:10
-
1It is also slowing your code, and making it harder to read. – Scott Craner Nov 20 '19 at 15:11
-
Thanks Scott! I will take a look at this. – Chris Ross Nov 20 '19 at 15:20