我已经修改了Macro to export MS Word tables to Excel sheets中的代码,以复制表的顺序间隔(例如,1到4),而不是像在原始代码中那样复制所有表。但是我不知道如何在Word文档中复制选定的表格(例如,表格1、3、7、8)。 非常感谢帮助调整代码的相关部分!Dim arrFileList As Variant, FileName As Variant
Dim tableNo As Integer 'table number in Wor
我需要将工作表'GreatIdea‘导出到Word文档。'GreatIdea‘被划分为页面,我的列是基于这些页面的。Dim appWD As Word.ApplicationDim docWDAs Word.Document
Set docWD = appWD.Documents.Open("C:\Users\TOM\De
1)我用Microsoft word打开一个pdf,通过excel VBA。 2)从word doc中,我只希望将第3页和第4页(这两个是不带标题的表格)复制到excel中。3)目前,我只能将整个单词doc复制到excel中,这可能会很麻烦。下面是我的代码: Sub convertpdftowordthenexcel()
Dim input1 As S