Selvakumar has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am using the below code to create word document. i want to do hyperlink to open a seperate file for this text. how can i do that?
my $word = Win32::OLE->CreateObject("Word.Application"); $word->{Visible} = 0; my $doc = $word->Documents->Add; my $selection = $word->Selection; $selection -> TypeText("To Hyperlink"); $selection -> {'Style'} = "Title"; $selection -> TypeParagraph;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: word hyperlink
by marto (Cardinal) on Jul 16, 2009 at 12:28 UTC |