错误:预期结束子 [英] error: Expected End Sub
本文介绍了错误:预期结束子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我得到这个错误消息,对于下面的代码。我试图在最后添加END Sub但仍然没有工作
任何想法?
Hi,
Im getting this error mesage, for the below code. I have tried to add END Sub at the end but still didnt work
Any ideas?
展开 | 选择 | Wrap | 行号
推荐答案
因为你打开了sub
和以功能结束
他们应该是相同的,一个或另一个
because you open with "sub"
and end with "function"
They should be the same, one or the other
是的,我试过End Sub。
那么你有什么建议
Yeah i tried End Sub.
So what are you suggesting
用end sub替换end函数
replace end function with end sub
这篇关于错误:预期结束子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文