关键的代码:
Dim myword As New Word.Application '-------------定义word对象
Dim mydoc As New Word.Document
Dim mytable As Word.Table
Set mydoc = myword.Documents.Open(App.Path + "\模板文档\调查报告.doc")mydoc.Range.Find.Execute "JCQK", , , , , , , , , Text1(10).Text可是现在只要 Text1(10).Text超过一定的长度,就会出现:"字符串过长的提示"大家有没有好的解决办法啊?