We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
在 VBA 编辑器中,如果按 F2,就会出现一个对象浏览器,这是一个非常方便的参考。 您还可以过滤它以查找特定于 Word 的对象。
In the VBA editor, if you hit F2, there's an object browser that is a pretty handy reference. You can also filter it for Word-specific objects.
查看 VBA 帮助(以及调试器)可以帮助我学习所需的任何内容。 帮助文件非常全面。
A look into the VBA Help (along with the debugger) helped me to learn anything I needed. The help file is really comprehensive.
我最近学习了 Word 对象模型,我发现以下几页最有帮助。 我认为,只要您了解了 Word 应用程序(从用户的角度),您所需要做的就是充实您对 Word.Range 以及最终 Word Story Types 的理解。 正如其他发帖者所建议的,Word 的 Visual Basic 编辑器中的对象浏览器对于浏览任何特定对象的可用属性和方法非常方便。
所有 Word VBA 的入口点。 按方法、对象、集合等浏览:
专门关于使用 Word 范围的有用页面:
使用范围
修改文档
选择对象
分配范围
Word 故事类型简介:
I recently learned the Word Object Model and I found the following pages most helpful. I think that as long as you understand the Word Application (from a user perspective), all you need to do is flesh out your understanding of Word.Range and eventually Word Story Types. And as the other posters have suggested, the Object Browser in Word's Visual Basic Editor is very convenient for browsing the available properties and methods for any particular object.
Entry point for all Word VBA. Browse by method, object, collection, etc.:
Helpful pages specifically about using Word's Ranges:
Working with Ranges
Modifying a portion of a document
Selection object
Assigning Ranges
An introduction to Word's Story Types: