如何调试运行时错误代码? [英] How to debug runtime error code?
本文介绍了如何调试运行时错误代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
尝试运行此vba时,我收到调试错误。我是VBA的新手,所以任何帮助都会得到改善。
我猜我的陈述是不正确的,但我确定VBA程序员会看到一个举动我做错了什么
Hi Everyone,
When trying to run this vba i''m getting a Debug error. I''m new to VBA so any help is appresheated.
I''m guessing my placment of statements are incorrect, but I''m sure a move advaced VBA programmer will see what I''m doing wrong
展开 | 选择 | Wrap | 行号
推荐答案
它停在什么行?我怀疑它是第6行,你有一个Let而不是Set。虽然我怀疑是否甚至需要Set。
What line is it stopping on? I suspect it''s line 6 where you have a Let instead of a Set. Although I question if Set would even be necessary.
你可能除以0。
谢谢兔子 - 我需要做什么要解决这个问题?或者我需要做一些完全不同的事情吗?
Thanks Rabbit - what would I need to do to fix it? or do I need to do something totally different?
这篇关于如何调试运行时错误代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文