- or download this
use strict;
use Win32::OLE qw(in with);
...
"Data THREE" ,
"Data FOUR");
- or download this
$Word->Selection->TypeText ({ Text => "This is plain header text"});
$MyRange->Collapse({Direction=>wdCollapseEnd});
$Word->Selection->TypeText ({ Text => "\n\n" }); #add the table 2 li
+nes below
$Word->Selection->MoveDown({Count => 2});
- or download this
my @headers = ("Header ONE",
"Header TWO",
...
my $Doc= $Word->{ActiveDocument};
$Doc->SaveAs('c:\perl\projects\testtable.doc');