How can I automatically populate the VBA Editor with line numbers?

前端 未结 7 1653
甜味超标
甜味超标 2020-12-02 01:41

I want to have line numbers in my VBA code for debugging reasons. That will allow me to know where a particular error occurred.

Is there an automatic feature for thi

7条回答
  •  囚心锁ツ
    2020-12-02 02:08

    The VBA editor has a built in way to see a line number, under the 'Standard' toolbar:

    When you select a line of code, the line number will be represented here next to 'Ln'.

提交回复
热议问题