Re: Microsoft Word search and replace issue

2005-05-23 Thread Chris Cox
Thanks for your responses Greg and Jan. I've followed your advice and it's working beautifully. Thanks very much! Chris ------ Chris Cox B.IT.(Information Systems) Senior Software Engineer Creatop Interactive Media Level 1, 240 McCullo

RE: Microsoft Word search and replace issue

2005-05-19 Thread Chris Cox
t;{Documents}->Open("C:\\Word\\Certificate.doc"); my $count = $doc->Shapes->{Count}; for (my $i=1; $i < $count; $i++) { $doc->Shapes->{$i}->{TextFrame}->{TextRange}->{Text} =~ s/#tPreferredName#/Chris/g; } Surely there's an easier way? If not, it'll have

Microsoft Word search and replace issue

2005-05-16 Thread Chris Cox
, please ask and I will send them off list. Any help would be appreciated, I'm new at this! Cheers, Chris -- Chris Cox B.IT.(Information Systems) Senior Software Engineer Creatop Interactive Media Level 1, 240 McCullough Stre