自己定  大侠们 救命啊 

解决方案 »

  1.   

    using Word = Microsoft.Office.Interop.Word;
     object routeDocument = System.Reflection.Missing.Value;
     Microsoft.Office.Interop.Word.ApplicationClass app = new Microsoft.Office.Interop.Word.ApplicationClass();object WdLine = Word.WdUnits.wdLine;
    object oEndOfDoc = "Plan";
    Word.Range oRng = Doc.Books.get_Item(ref oEndOfDoc).Range;
    Word.Table tb = Doc.Tables.Add(oRng, 1, 2, ref nothing, ref nothing);//添加table
    tb.Rows.Alignment = Word.WdRowAlignment.wdAlignRowCenter;
    tb.Borders.OutsideLineStyle = Word.WdLineStyle.wdLineStyleSingle;
    tb.Borders.InsideLineStyle = Word.WdLineStyle.wdLineStyleSingle;
    int i = 1;
    tb.Cell(1, 1).Range.Text = "年月";
    tb.Cell(1, 2).Range.Text = "目标";