Excel工作簿检查 [英] Excel Workbook Check

查看:68
本文介绍了Excel工作簿检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么知道特定的Excel工作簿是否已打开.请帮助我
因为我不想购买数据库. :((<

How do i know specific excel workbook is already open or not. pls help me
''cause i don''t want to buy database. :((

推荐答案

您可以尝试通过互斥读取将其作为普通文件打开,看看是否有异常.如果有异常,则该文件为当前打开.
You could try to open it as a normal file with exclusive read and see if you get an exception. If you get an exception, the file is currently open.


这篇关于Excel工作簿检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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