Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 MSWord 自动化,我需要从一行文本的行号中获取页码。我愿意接受 VC++/C#/VB 中的答案。
我想创建一个文档的索引,我需要光标当前所在行的页码
提前致谢。
Selection.Information(wdActiveEndPageNumber)