Start Excel 2016 screenupdating not working

Excel 2016 screenupdating not working

Also, screen updating won't work if you're debugging/stepping through the code. There may be something else messing up the setting.

All those Screen Updating = False's you see is called "sheer desperation". I can still enter the workbook and it is screenupdating away even right after the line set it false. Screen Updating = False" in the immediate window it works as expected. Thanks Colin Correct, when you step through in debug mode the screenupdating remains turned on. To test it properly, try this: Put a commandbutton on your sheet and paste in Application. Net) | Coordinates, Vectors and 3D volumes I've experienced this problem, with code that previously worked!

The following macro lines will, respectively, turn off screen updating and then turn it back on in a VBA macro.

The idea is to use the first line near the beginning of your macro, and then use the second line near the end.

Well, the function is quite long, but you're looking at the function's entry point. The immediate window says True, then False, then True again as expected, but the code doesn't seem to have any effect on the application. If all of this happens, then you know it is working correctly. Net 2003 and Office 2010 Code: Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA, VB.

Screen Updating = False If my Debug = False Then On Error Go To Error Handler I'm afraid that's pretty much it. Screen Updating End Sub As I step through the code when I hove over Application.screen Updating it always says True. Then put it in debug mode and step through with screen updating turned off again, you should find that you still see the numbers going in one by one.

I'm really struggling to find anything else to suggest.

Not sure what else to suggest.djikay, thank you a lot for this, now I'm able to identify where is the bad guy messing up my setting, and you're right, it is the regress that make the setting back to TRUE. Screen Updating = False before and after the regress statement, all screens are still flickering, any suggestions on that? Also, I read somewhere that having any watches active might cause a problem, so try removing any watches you may have and see if that makes any difference.

Status Bar = "Please be patient..." Dim Rating As Variant, sht As Worksheet, Last Record Row As Long, i As Integer, Last Row As Long Rating = Input Box("Please Provide Weather Rating (Any Number Between 1 and 4)", "Input Needed") If Rating 4 Then Msg Box "Invalid Value, Please Enter A Valid Number!