Dictionary<string, string> dictionnaryBig = new Dictionary<string, string>(); dictionnaryBig.Add("bianhao", NO); dictionnaryBig.Add("yingwenming", companyEnName); dictionnaryBig.Add("zhongwenming", companyName); dictionnaryBig.Add("wangzhi", Url); dictionnaryBig.Add("Assessor", Assessor); dictionnaryBig.Add("ReportDate", ReportDate); dictionnaryBig.Add("ValidFrom", PeriodStart); dictionnaryBig.Add("ValidTo", PeriodEnd); dictionnaryBig.Add("ZhuTiCNName", ZhuTiCNName); dictionnaryBig.Add("Assessorment", Assessorment); dictionnaryBig.Add("SupplierCompany", SupplierCompany); foreach (var item in dictionnaryBig) { var key = string.Format("&{0}&", item.Key); docBig.Range.Replace(key, item.Value, false, false); } docBig.Save(GetFileLastPath + "\Medal\" + ZhuTiCNName + "-股份关联-大.doc");