G
godfather_2005
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm8.suiButton2Click(Sender: TObject);
var
Doc:OleVariant;
begin
Doc:=CreateOleObject('Word.Application');
Doc.Visible:=True;
Doc.Documents.Add;
Doc.ActiveDocument.Tables.Add(Doc.ActiveDocument.Range(0, 0),10,4);
end;(创建好了,单元格)
var
Doc:OleVariant;
begin
Doc:=CreateOleObject('Word.Application');
Doc.Visible:=True;
Doc.Documents.Add;
Doc.ActiveDocument.Tables.Add(Doc.ActiveDocument.Range(0, 0),10,4);
end;(创建好了,单元格)