Check VBA Code Line by Line for errors using Debug

Описание к видео Check VBA Code Line by Line for errors using Debug

We can check our VBA code line by line using the Debug feature in Microsoft Excel VBA for Applications editor.
By making the VBA editor window smaller than our worksheet we can Step Into our code line by line and follow the corresponding actions on the Excel worksheet. If an error occurs a dialog box is displayed with a specific error message and the code in the VBA editor gets highlighted and the macro stops working. We can now take corrective action on the offending line of code and then pursue the debugging process further.
This makes debugging VBA code more systematic.

Комментарии

Информация по комментариям в разработке