Thread Excel (Win32::OLE) Datei bereits geoeffnet (11 answers)
Opened by fish12345 at 2009-07-29 12:24

renee
 2009-07-29 15:25
#123667 #123667
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Ungetestet:

Code: (dl )
1
2
3
4
5
6
my $excel = Win32::OLE->GetActiveObject('Excel.Application')||die "couldnt get active one";
my $workbook = $excel-> Workbooks( $file ); # when file is already opened

unless( $workbook ) {
$workbook = $excel->Workbooks->Open( $file ) or die "Cannot open $file";
}
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Excel (Win32::OLE) Datei bereits geoeffnet