大体思路:按行读取文件到数组 tmptxt()把需要置换的数也保存到数组b() for i =0 to ubound(tmptxt) for j=0 to ubound(a) tmptxt(i)=replace(tmptxt(i),b(j),a(j)) nextnext在把这个数组输出到文件