早上好, 我想将Word中的地址替换为Excel单元格中的地址。 我的情况如下图所示: ? 我在Excel中有一个地址,我想粘贴到基于表格单元格内的Word括号中。有一些解决方案: Write to Word Document from ExcelVBA Pasting a String from excel to Word using word-VBAVBA<
我是VBA的新手,尝试在Excel中用VBA填写Excel中的word模板。wdReplaceAll, Forward:=True, Wrap:=wdFindContinue
End With 但这不会替换word文档正文中的任何文本。如果我完全复制代码,并用ActiveDocument替换WordDoc,然后在wordVBA中运行它,文本就