我的宏在运行时锁定所有其他工作表,我该如何阻止它? [英] My macro locks all other work sheets when running, how can I stop this?

查看:121
本文介绍了我的宏在运行时锁定所有其他工作表,我该如何阻止它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了一个简单的excel vba表单,它包含一些必须填写的字段并将内容提交到工作表。 Simples。但是,虽然表单可见,但所有其他工作簿都被锁定。我的雇主希望在场合复制并粘贴一些字段
,并且由于表格锁定其他excel工作簿,他不能。我只是想知道是否有一个简单的命令阻止一个宏在运行时锁定所有其他工作簿?



为你的时间欢呼,


< p style ="font:inherit; vertical-align:baseline; list-style-type:none; color:#666666; font-family:'Segoe UI',Helvetica,Garuda,Arial,sans-serif; line-height: 21px">
Damo

解决方案

当您显示表单时,您可以使用无模式:

 Form_name.Shon 0 


::我只是想知道是否有一个简单的命令可以在运行时停止一个宏锁定所有其他工作簿


你可以使用
Progressbar - 它如何工作
或者你可以使用application.St atusBar


I have created a simple excel vba form, it consists of a few fields that must be filled in and commits the content to a worksheet. Simples. However, while the form is visible, all other workbooks are locked. My employer wishes to copy and paste some fields on occasion and due to the form locking the other excel workbooks, he cannot. I was just wondering is there a simple command that stops one macro locking all other workbooks while running?

cheers for your time,

Damo

解决方案

When you show form, you can use modeless:

Form_name.Shon 0 

::I was just wondering is there a simple command that stops one macro locking all other workbooks while running

You can use Progressbar -How does it work or you can use application.StatusBar


这篇关于我的宏在运行时锁定所有其他工作表,我该如何阻止它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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