VBA - Including Line Numbers In Your Error Handler

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ค. 2024
  • Discussing VBA Error Handling and specifically how you can add the Line Number that triggered the error to it so you can easily identify exactly where the issue occurred thus making your VBA error handler truly useful to you as a developer and saving you debugging time and frustrations.
    My Article On Error Handling:
    • www.devhut.net/ms-access-vba-...
    Useful Links:
    • learn.microsoft.com/en-us/off...
    • learn.microsoft.com/en-us/dot...
    Add-Ins That Include Line Numbering Capabilities:
    • Mz-Tools, www.mztools.com/
    • VBETwister, www.vbetwister.com/
    • VBA Code Generator, www.codevba.com/
    My Links:
    🏭 www.cardaconsultants.com/ (business)
    📢 www.devhut.net/ (blog)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 10

  • @hassanrozh6579
    @hassanrozh6579 หลายเดือนก่อน

    Thanks so much, it is helpful.

  • @djunabug
    @djunabug 26 วันที่ผ่านมา

    Amazing!! Subbed!

  • @yasserelbighily6983
    @yasserelbighily6983 29 วันที่ผ่านมา

    Many thanks for the good explanation, is that possible to make a video about doing a procedure to add the line number to our code

    • @DanielPineault
      @DanielPineault  29 วันที่ผ่านมา

      It is possible to write your own code to do this using the extensibility library, but truthfully you're better using one of many Add-Ins (some of which I've included in the videos description).
      Also, you might simply be able to copy such code from existing open-source add-ins.
      That said, let me see what I can do.

  • @giordanocarbajalblas104
    @giordanocarbajalblas104 หลายเดือนก่อน

    Thanks u. Whats te program or extensiom to add line numbers?

    • @DanielPineault
      @DanielPineault  หลายเดือนก่อน

      Mz-Tools => www.mztools.com/

    • @giordanocarbajalblas104
      @giordanocarbajalblas104 หลายเดือนก่อน

      @@DanielPineault Thanks you!

    • @DanielPineault
      @DanielPineault  29 วันที่ผ่านมา

      I believe the VBETwister add-in also has such functionality => www.vbetwister.com/ as does VBA Code Generator => www.codevba.com/ and there are others.
      I've also added this information to the video description.