本文介绍了每个...需要下一个帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于每个变体在ThisDocument中

[陈述]

下一个变体


以上代码我需要VBA扫描所有文件并找到每个 ''但是thisdocument什么都不工作整个故事有人有什么建议吗?


欢呼Blacbox

For Each variant In ThisDocument
[statements]
Next variant

for the above code i need VBA to scan all of the document and find each " '' " but "thisdocument" doesn''t work neither does "wholestory" anyone got any suggestions?

cheers Blacbox

推荐答案



也许你可以使用InStr(ThisDocument,"''" ;)

Hi, perhaps you could use InStr(ThisDocument, " '' ")




鉴于For Each ...声明的性质,我认为这将是 Instr( variant ,"''")

Given the nature of the For Each... statement, I think that would be Instr(variant, " '' ").



这篇关于每个...需要下一个帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-16 19:31