Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

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.


Comment on Re: MS-Word OLE and Joining Tables
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
Node Status?
node history
Node Type: note [id://1010950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2015-07-29 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls