Delphi和Word(100)

S

schoolgirl

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

李翔鹏

Unregistered / Unconfirmed
GUEST, post messages is not allowed!
#2
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, post messages is not allowed!
#3
怎样将oDoc1与文档名相联系呀?小妹是新手,请多指教。
 
S

schoolgirl

Unregistered / Unconfirmed
GUEST, post messages is not allowed!
#5
楼上这位大哥,能讲清楚点儿吗?
 
S

smlabc

Unregistered / Unconfirmed
GUEST, post messages is not allowed!
#6
var do
c1: Variant;
begin
do
c1 := CreateOleObject('Word.Application');
 
S

schoolgirl

Unregistered / Unconfirmed
GUEST, post messages is not allowed!
#7
多人接受答案了。