Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 meditating upon the Monastery: (3)
As of 2020-10-30 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (277 votes). Check out past polls.

    Notices?