How can I replace with a TWordDocument??
I try this:
OleVariant Search,Wrap,Replace,All;
Search="test";
Replace="ok";
Wrap=wdFindContinue;
All=wdReplaceAll;
WordDocument1->Content->Find->Execute(Search,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,Wrap,EmptyParam,Replace,All,EmptyParam,EmptyParam,EmptyParam,EmptyParam);
but msword give error...
anybody can help me?!
(sorry...inglish!)
Tks.
I try this:
OleVariant Search,Wrap,Replace,All;
Search="test";
Replace="ok";
Wrap=wdFindContinue;
All=wdReplaceAll;
WordDocument1->Content->Find->Execute(Search,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,EmptyParam,Wrap,EmptyParam,Replace,All,EmptyParam,EmptyParam,EmptyParam,EmptyParam);
but msword give error...
anybody can help me?!
(sorry...inglish!)
Tks.