sungy has asked for the wisdom of the Perl Monks concerning the following question:
Now, I want to do a Find (search the word "EOP" in the document) and insert a page break, can anyone help me, many thanks. sungymy $Word = Win32::OLE->new('Word.Application'); my $Doc = $Word->Documents->Open($worktemplate); $Doc->ActiveWindow->Selection->InsertFile($worktxtfile); $Doc->ActiveWindow->Selection->HomeKey(wdStory); $Doc->ActiveWindow->Selection->WholeStory; $Doc->ActiveWindow->Selection->Font->{'Size'}='9'; $Doc->ActiveWindow->Selection->Font->{'Name'}='Courier New';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MS Office Words Question
by vkon (Curate) on Jun 06, 2006 at 16:08 UTC | |
|
Re: MS Office Words Question
by planetscape (Chancellor) on Jun 06, 2006 at 17:56 UTC |