RE: win32::ole (excel) question

2007-08-10 Thread dkazatsky
cc Subject RE: w

RE: win32::ole (excel) question

2007-08-10 Thread Jan Dubois
The first sheet name is never changed from "Sheet1" to begin with because you are trying to set it to a name with 37 characters. The maximum sheet name length in Excel is 31 characters. It would be nice if Excel returned an error if you try to assign an invalid name, but it doesn't appear to

RE: Win32:OLE Excel

2005-08-05 Thread Thomas, Mark - BLS CTR
> Then delete all the sheets that start with "sheet" > > $SheetTabName = $Book-> Worksheets($_)->{Name}; > foreach ( 1...$SheetCnt) > { > $SheetTabName = $Book-> Worksheets($_)->{Name}; > if ( $SheetTabName =~ /^sheet/i ) > { > $Book->Worksheets

RE: Win32:OLE Excel

2005-08-05 Thread Ross Matt-QMR000
investigation. Thanks, David -Original Message- From: Dave Kazatsky [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 1:47 PM To: Hsu, David Cc: Perl-Win32-Users@listserv.ActiveState.com; [EMAIL PROTECTED] Subject: RE: Win32:OLE Excel David, I have a script with almost the exact same

RE: Win32:OLE Excel

2005-08-05 Thread Hsu, David
atsky [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 1:47 PM To: Hsu, David Cc: Perl-Win32-Users@listserv.ActiveState.com; [EMAIL PROTECTED] Subject: RE: Win32:OLE Excel David, I have a script with almost the exact same code and it works correctly. Try removing the parens from your add

RE: Win32:OLE Excel

2005-08-04 Thread dkazatsky
EMAIL PROTECTED] 08/04/2005 01:17 PM To: "Ken Barker" <[EMAIL PROTECTED]>, Perl-Win32-Users@listserv.ActiveState.com cc: Subject: RE: Win32:OLE Excel Ken, I am using Win32::OLE. Add_worksheet uses the Spreadsheet:WriteExcel module. Thanks, David -Original Message-

RE: Win32:OLE Excel

2005-08-04 Thread Hsu, David
Ken, I am using Win32::OLE. Add_worksheet uses the Spreadsheet:WriteExcel module. Thanks, David -Original Message- From: Ken Barker [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 12:07 PM To: Hsu, David; Perl-Win32-Users@listserv.ActiveState.com Subject: RE: Win32:OLE Excel

Re: Win32:OLE Excel

2005-08-04 Thread $Bill Luebkert
Hsu, David wrote: > Hi, > Does someone know of another method of naming the Excel sheets? > Currently I am using: > ... > $Worksheet = $Workbook->Worksheets()->Add(); > $Worksheet->{Name} = "test $i"; > ... > > The sheet names are still "Sheet1", "Sheet2", etc... my $workbook = $Excel->Workbooks-

RE: Win32:OLE Excel

2005-08-04 Thread Ken Barker
Try $ws1 = $workbook->add_worksheet('worksheetname'); Ken Barker IT Lead Americall Group, Inc 314-213-7927 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Hsu, David Sent: Thursday, August 04, 2005 10:23 AM To: Perl-Win32-Users@listserv

RE: Win32:OLE Excel last row question.

2004-02-13 Thread Charbeneau, Chuck
> From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED] > Subject: Win32:OLE Excel last row question. > This line successfully gives me the last used row in a populated > spreadsheet: > > my $LastRow = $sheet->UsedRange->Find({What=>"*", > SearchDirection=>xlPrevious, SearchOrder=>xlByRows})-

RE: Win32::OLE Excel: TypeName

2004-02-06 Thread Nick Djurovich
> Hi, > > does soemone know how I can get the type of an Excel-Sheet > via perl. I have to know whether a Sheet is a 'Chart' or a > 'Worksheet'. > > In Visual Basic there is The 'TypeName'-Function. But I > don't get this Function to call from my perl > > Cheers > Armin Hi Armin, If you us

RE: Win32-OLE excel cell reference.

2003-08-14 Thread Ross Matt-QMR000
ckett Richard-qswi266'; [EMAIL PROTECTED] Subject: RE: Win32-OLE excel cell reference. > From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED] > Subject: Win32-OLE excel cell reference. > It seems that the Range command likes data like (A14), or > (A14:B26), and I am happy with

Re: Win32-OLE excel cell reference.

2003-08-14 Thread $Bill Luebkert
Beckett Richard-qswi266 wrote: > Guys, > > I'm struggling with the syntax to point to the cells that I want to use in > Excel. > > It seems that the Range command likes data like (A14), or (A14:B26), and I > am happy with this. > > My problem occurrs when I only have numeric data to work with,

RE: Win32-OLE excel cell reference.

2003-08-10 Thread Charbeneau, Chuck
> From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED] > Subject: Win32-OLE excel cell reference. > It seems that the Range command likes data like (A14), or > (A14:B26), and I am happy with this. > > My problem occurrs when I only have numeric data to work > with, because of incremented

RE: Win32-OLE excel cell reference.

2003-08-10 Thread Charbeneau, Chuck
> From: Ross Matt-QMR000 [mailto:[EMAIL PROTECTED] > Subject: RE: Win32-OLE excel cell reference. > by no means did mean anything negative about what you > wrote in reply. You have ALWAYS been very helpful to me and > others with your posts. No worries. I didn't ta

RE: Win32::OLE, excel file not found

2003-06-18 Thread Allegakoen, Justin Devanandan
--8<--- If you'll notice, the code provided was wrapped in <% %> which indicates SERVER side execution. --8<--- Feel the need for a little defence on my part ;) There's no point in trying to execute server side code in the faint hope that it will open your local file. I've