DimWord
DimWordApp
SetWordApp=CreateObject(\"Word.Application\")
SetWord=WordApp.Documents.Open(fname)
Fori=0To6在第一个表格中相应单元格填入内容
Word.Tables(1).cell(i2,2)=shiwubiao.Text1(i).Text\'填写食物宜忌表格
Next
Fori=0To6
Word.Tables(1).cell(i2,3)=shiwubiao.Text1(i7).Text
Next
Fori=0To6
Word.Tables(1).cell(i2,4)=shiwubiao.Text1(i14).Text
Next