问题描述
我在我的代码中的各个地方使用了Docmd.outputto函数,但出于某种原因,之后出现的所有代码,甚至msgbox都没有显示。我只是想知道是否有任何可能导致这种情况。例如,在下面的片段中,docmd命令会弹出一个框,表示它正在将文件输出到c:\FullTimetable.snp,但没有msgbox显示test。我有大约6个左右的if语句同样的问题,我希望它没什么大不了的。非常感谢您的帮助!
Hi, I have used the Docmd.outputto function in various places in my code but for some reason all code that comes afterwards, even msgbox doesn''t show. I was just wondering if there is anything that could be causing this. For example in the snippet below the docmd command brings up a box saying that it is outputting the file to c:\FullTimetable.snp but no msgbox appears saying "test". I have about 6 or so if statements with the same problem and i''m hoping it is nothing major. Your help is greatly appreciated!
推荐答案
这篇关于“Docmd.OutputTo ..”之后的代码忽略?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!