表格不会公开 [英] Form won't open

查看:64
本文介绍了表格不会公开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张我无法打开的表格。我将表单设置为在启动时打开。即使在设计模式下,它现在也无法打开。我尝试使用命令按钮创建一个表单来打开表单,它给了我一个错误代码,你取消了以前的操作。我尝试复制表单并导出表单。都没有工作。表单的所有代码仍在模块中。关于我如何打开表单的任何建议?


谢谢,

Jason

I have a form that I am unable to open. I had the form set to open on startup. It now will not open, even in design mode. I tried creating a form with a command button to open the form and it gives me an error code, "You canceled the previous operation." I tried copying the form and exporting the form. Neither work. All of the code for the form is still in the module. Any suggestions on how I open the form?

Thanks,
Jason

推荐答案

试试跟踪表单的代码。使用Alt-F11切换到调试器,然后在尝试正常打开表单之前在代码中放置一个断点。追踪直到你明白它为什么关闭。有关详细说明,请参见在VBA中进行调试
Try tracing the code of the form. Use Alt-F11 to switch to the debugger, then put a breakpoint in the code before trying to open the form normally. Trace through till you see why it is closing. See Debugging in VBA for detailed instructions.

我试过调试。我还尝试删除表单模块中的所有代码。表格仍然无法打开。我将整个数据库导出到另一个数据库,但是这个表格没有导出,我无法复制。


还有其他任何建议吗?


谢谢,杰森
I tried debugging. I also tried erasing all of the code in the form module. The form will still not open. I exported the entire database to another database but this form doesn''t export and I cannot copy it.

Any other suggestions?

Thanks, Jason


对不起杰森。这听起来像你有一个不可挽回的腐败形式。


如果你附上一份副本(< = A2003格式)那么我会为你检查一下,但我的猜测是它已经消失了。
Sorry Jason. It sound like you have an unrecoverably corrupted form.

If you attach a copy (<= A2003 format) then I''ll check it over for you, but my guess is that it''s gone.


这篇关于表格不会公开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆