摘要: /// /// Word按页读取内容 /// /// 页数 /// html或纯文本 /// /// public string ReadPage(int page, bool isHtml) { object objWhat = Word.WdGoToItem.wdGoToPage; object objWhich = Word.WdGoToDirection.wdGoToAbsolute; object o... 阅读全文
posted @ 2014-03-14 19:02 skykang 阅读(5446) 评论(0) 推荐(0) 编辑
摘要: 怎么让word自动删除第3、6、9、12等3的倍数页‘Sub kk1206190933() Dim wNum As Integer Dim wPag As Integer With Selection wPag = .Information(wdNumberOfPagesInDocument) For wNum = Int(wPag / 3) * 3 To 3 Step -3 .GoTo wdGoToPage, , wNum .Bookmarks("\Page").Range.Delete Next End WithEnd SubVBA实现检查和删除W... 阅读全文
posted @ 2014-03-14 17:37 skykang 阅读(3004) 评论(0) 推荐(0) 编辑