Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: MS-Word OLE and Joining Tables

by roboticus (Chancellor)
on Dec 30, 2012 at 18:14 UTC ( #1010950=note: print w/replies, xml ) Need Help??

in reply to MS-Word OLE and Joining Tables


OK, you've converted the code as shown. What happens when you run it? (I can't run it because I don't have the necessary infrastructure here.) The error message and/or other symptoms might have the clue needed to help solve your problem.


When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: MS-Word OLE and Joining Tables
by BrianP6 (Initiate) on Dec 30, 2012 at 19:27 UTC

    Hi Roboticus, You are absolutely right, my apologies. When I run my code I get the error:

    Can't locate object method "Range" via package "Count"

    So, I printed out the contents of $oPara and I got the word "Count" out of it .... so I guess it's not a hash.

    If I remove the hashing and turn it back to "foreach my $oPara ($Word->ActiveDocument->Paragraphs)", then the error message I get is:

    Can't call method "information" on an undefined value"

    Thanks for taking the time to look

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010950]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2018-04-25 21:19 GMT
Find Nodes?
    Voting Booth?