摘要: 方法一: thisDocument.Windows(1).Panes(1).Pages.Count 方法二: thisDocument.Range.Information(wdNumberOfPagesInDocument) 方法二: thisDocument.BuiltInDocumentProp 阅读全文
posted @ 2025-08-31 14:41 python_learn 阅读(50) 评论(0) 推荐(0)
摘要: Set rg = doc.GoTo(wdGoToPage, wdGoToAbsolute, 3) rg.Select rg.SetRange rg.Start, rg.Bookmarks("\page").End rg.Copy 以上代码功能(定位到第3页开头,然后复制第3页内容) 可以用下面简化代 阅读全文
posted @ 2025-08-31 12:22 python_learn 阅读(6) 评论(0) 推荐(0)