Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is this a possible technique for achieving my goal. Why is there no Excel generation occuring when i activiate the submit button. My excel code works perfectly when run from the command prompt in a seperate script.if ($query->param('excel')){ &myexcelsubroutine } sub myexcelsubroutine { my $application = Win32::OLE->new("Excel.Application"); my $workbook = $application->Workbooks->Add; $application->{Visible} = 1; my $worksheet = $workbook->Worksheets(1); etc etc }
Thankyou soo much to anyone who offers any advise
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calling Win::OLE subroutine
by diotalevi (Canon) on Sep 08, 2004 at 22:47 UTC | |
|
Re: Calling Win::OLE subroutine
by sandfly (Beadle) on Sep 08, 2004 at 22:48 UTC |