Below a short (3-line) piece of code that turns off screen updating, applies the "Gantt Chart" view (though any view or table produces the same effect), then turns screen updating on again.
When you run the code, the result is all task names and gantt chart bars disappear - only the dependencies remain in the Gantt chart. making ScreenUpdating = True restores them again.
Has anyone else seen this potentially major bug? It seems like turning screen updating on again after turning it off doesn't refresh the screen.
Sub screen_updating_problem()
' Make the next line "True" to fix the problem, i.e. not update the screen
ScreenUpdating = False
ViewApply "Gantt Chart"
ScreenUpdating = True
End Sub