A runtime error occurs and then Office Excel 2007 crashes when you programmatically print or print preview a file in Microsoft Office Excel 2007

KB Article: https://support.microsoft.com/kb/979370

INTRODUCTION

Consider the following scenario:

  • You have a computer that is running Microsoft Office Excel 2007.
  • You set the value of the ScreenUpdating property to False to turn off screen updating.
  • You programmatically print or print preview a file.

In this scenario, either a runtime error occurs or a runtime error occurs and then Office Excel 2007 crashes.