http://qs321.pair.com?node_id=526503


in reply to Win32::OLE used with office 2003

In my experience, most Monks here are (justifiably) leery of clicking on external links to read someone's source code. You will probably get a better response if you post the code you are actually using (especially any modifications you've made!) and either a sample of your data, or your input and expected/actual ouput. You may wish to read at least a few of the links you'll find here, to get a good idea of how the Monastery works.

Super Search is your friend. Use it with terms like "object browser", for example, to turn up nodes like this one, which will show you how Perl tools can help you with questions about MS Office Object Models. You will also find a number of nodes dealing with using Perl to automate MS Word. Don't give up if at first you don't find any; modify your terms and try again!

Finally, the general rule is, yes, if you plan on automating part of the MS Office Suite with Perl (or any other language, even VB(A)), you do need that component installed.

HTH,

Update: wfsp just pointed out to me that you were in the ChatterBox yesterday asking about this... He thinks you might be having version problems... So check that the code you are using/modifying is compatible with the version of Word you have. Some code can be ported; some can't.

planetscape

Replies are listed 'Best First'.
Re^2: Win32::OLE used with office 2003
by blm (Hermit) on Jan 31, 2006 at 00:32 UTC
    In my experience, most Monks here are (justifiably) leery of clicking on external links to read someone's source code.
    Why do you say this? I am just curious.

      Um, I've been under the weather and doubtless could have phrased things better. ;-)

      In my experience, most Monks prefer code to be posted inline with the writeup; at least, most responses I have read to writeups without code admonish the OP to provide it.

      I have also noted many replies indicating a reluctance to follow external links; perhaps it is just because such tend to break easily.

      My methods certainly are not scientific. I was merely going by what I had noticed in the past.

      HTH,

      planetscape