On Fri, 19 May 2000 18:19:31 +0100, "Axel Tietje" <[EMAIL PROTECTED]>
wrote:
>my $s1 = $doc->Styles("Standard");
>$word->Selection->({Style => $s1}); # this is line 43
$word->Selection->{Style} = $s1;
>I get the following Error:
>'Not a CODE reference at word.pl line 43.'
>
>Could anyone please tell me what's wrong?
You were using incorrect property access syntax.
You may want to read my Perl Journal article about Win32::OLE, which is
included in the latest distribution of the module on CPAN:
http://cpan.org/modules/by-authors/id/J/JD/JDB/Win32-OLE-0.12.tar.gz
You'll find the article in the file
lib/Win32/OLE/TPJ.pod
I would also recommend to at least browse the sample code in the
eg
subdirectory.
-Jan
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]