vb中运行vba代码_自动在VBA和VB6代码中插入过程名称

vb中运行vba代码

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't interested in and/or not all of the procedures that led up to arriving at the break point. Adding

当试图找出VBA或VB6中的问题的原因时,了解在错误发生之前执行了哪些过程通常很有价值。 您可以为此使用调用堆栈,但是它通常不足,因为它可能显示您不感兴趣的过程和/或不是导致到达断点的所有过程。 新增中

Debug.Print statements or MsgBox statements in procedures is another way but adding them manually can be very tedious. The add-in I've attached resolves those problems by automatically adding  statements in all selected procedures that contains "Debug.Print" or whatever else you want along with the name of the procedure. 

过程中的Debug.Print语句或MsgBox语句是另一种方法,但是手动添加它们可能非常繁琐。 我随附的外接程序通过自动添加来解决这些问题 所有选定过程中包含“ Debug.Print”或任何其他所需语句以及过程名称的语句。

When the add-in is loaded this toolbar will be added to the Visual Basic IDE in VB6 or the VBE (Visual Basic Environment) in Excel.

加载加载项后,此工具栏将被添加到VB6中的Visual Basic IDE或Excel中的VBE(Visual Basic环境)中。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值