R
Rene Mouchot
Hello,
I'm trying to generate a word file using perl win32:le module and of
course the Word com object.
The word file contain some tables, text, pictures and so on. It work nicely
from the command line but encounter a problem when run via a web access (
asp pages that wrap the perl script).
The script is stopped when it try to set a text of a cell, i found that the
Range property of the cell is not set, which caused the script to crash:
Here's the perl code:
$word->Selection->Tables->Item(1)->Cell(1,1)->Range->{Text} = "Name";
which could be more or less translated in vba to:
ThisDocument.Tables(1).Cell(1, 1).Range.Text = "Name"
Does this Range property emptyness sound familiar to someone ?
Any comments would be greatly appreciated )
Regards,
I'm trying to generate a word file using perl win32:le module and of
course the Word com object.
The word file contain some tables, text, pictures and so on. It work nicely
from the command line but encounter a problem when run via a web access (
asp pages that wrap the perl script).
The script is stopped when it try to set a text of a cell, i found that the
Range property of the cell is not set, which caused the script to crash:
Here's the perl code:
$word->Selection->Tables->Item(1)->Cell(1,1)->Range->{Text} = "Name";
which could be more or less translated in vba to:
ThisDocument.Tables(1).Cell(1, 1).Range.Text = "Name"
Does this Range property emptyness sound familiar to someone ?
Any comments would be greatly appreciated )
Regards,