Delphi和Word(100)

S

schoolgirl

Unregistered / Unconfirmed
GUEST, unregistred user!
各位大侠,小妹遇到麻烦:不知如何用Delphi往Word文档中的3*4的Table中写入字符?谢谢大家了!
 

李翔鹏

Unregistered / Unconfirmed
GUEST, unregistred user!
var tbl : table;Tbl :=do
c1.Tables.Add(wrng, 3, 4);
Format := wdTableFormatSimple1;
Tbl.Cell(1, 1).Range.Text := 'aa';
Tbl.Cell(1, 2).Range.Text := 'bb';....
 
S

schoolgirl

Unregistered / Unconfirmed
GUEST, unregistred user!
怎样将oDoc1与文档名相联系呀?小妹是新手,请多指教。
 
S

smlabc

Unregistered / Unconfirmed
GUEST, unregistred user!
CreateOleObject
 
S

schoolgirl

Unregistered / Unconfirmed
GUEST, unregistred user!
楼上这位大哥,能讲清楚点儿吗?
 
S

smlabc

Unregistered / Unconfirmed
GUEST, unregistred user!
var do
c1: Variant;
begin
do
c1 := CreateOleObject('Word.Application');
 
S

schoolgirl

Unregistered / Unconfirmed
GUEST, unregistred user!
多人接受答案了。
 

Similar threads

D
Replies
0
Views
91
DelphiTeacher的专栏
D
D
Replies
0
Views
68
DelphiTeacher的专栏
D
D
Replies
0
Views
53
DelphiTeacher的专栏
D
D
Replies
0
Views
53
DelphiTeacher的专栏
D
D
Replies
0
Views
93
DelphiTeacher的专栏
D
Top Bottom