Hello again,
I've added the line you suggested, but didn't get anything more descriptive.
When I take out the line '|| die "Failed!";' I get the error "Can't call
method "InsertBreak" on an undefined value" since the next line is this:
$Selection->InsertBreak({Type=>wdSectionBreakNextPage}); and t
Hi,
I'm performing an automated mail merge with the following code:
$Word->{ActivePrinter} = $printer;
$Merge->{Destination} = wdSendToNewDocument;
$Merge->Execute(0);
I'm trying to print the file "Form Letters1", but no matter what I try, I
can't seem to get the Perl equivalent of the following
Hello,
I'm trying to create automation with Word with the Visible property set to
0. When I run the code with visible = 1, everything works as expected
without errors. However, when I run the code with the visible = 0, I'm
getting errors.
Here's a snippet of code.
my $WordFile = "$doc_path\\"