Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: VBA to Perl

by mhacker (Sexton)
on Feb 10, 2006 at 11:59 UTC ( #529331=note: print w/replies, xml ) Need Help??


in reply to VBA to Perl

I've never used Win32::OLE, but I saw this:
$Word->Selection->Text="This is the inserted text"; $Word->Selection->Collapse (wdCollapseEnd); $Word->Selection->TypeParagraph; $Word->Selection->Text("This is the inserted text 2");
I guess that you cannot assign to the Text function like you do in the first line. It is a function that you need to supply an argument to (like you do in the last line).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://529331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2019-10-22 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?