Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: MS-Word OLE and Joining Tables

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


in reply to MS-Word OLE and Joining Tables

BrianP6:

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.

...roboticus

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-16 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found