This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 3 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
怎么样
How about
意识到这已经过时了,但是为了处理多个 Excel 实例,另一篇文章(下面链接)阐明了如何获取当前应用程序的进程 ID:
如何通过 VBA 获取当前 Excel 实例的进程 ID,而不使用标题?
Realize this is old, but to deal with multiple excel instances, another post (linked below) clarifies how to get the process Id of the current application with:
How to get the process ID of the current Excel instance, through VBA, without using the caption?
WQL 中没有 TOP 1 子句。 将其保留,您的查询应该可以工作:
There is no TOP 1 clause in WQL. Leave it out and your query should work: