Error trapping with Visual Basic for Applications in Excel for Mac When a run-time error occurs in a Microsoft Visual Basic for Applications macro, an error message appears on the screen, and the macro either halts or behaves unpredictably. To prevent the application from crashing or behaving unpredictably, you can...