Thread Word Dokument füllen (2 answers)
Opened by Andreas at 2010-08-10 07:10

havi
 2010-08-10 11:29
#140509 #140509
User since
2003-08-04
2036 Artikel
BenutzerIn
[Homepage]
user image
Hier mal der Zugriff...

Code (perl): (dl )
1
2
3
4
5
6
7
8
9
use warnings;
use strict;
use Win32::OLE;
use Win32::OLE::Const 'Microsoft Word';

my $word = Win32::OLE->new('Word.Application', 'Quit');
$word->Documents->Open("D:\\test.doc") || die("Unable to open document ", Win32::OLE->LastError());
# $word->ActiveDocument-> ...
$word->Quit;

View full thread Word Dokument füllen