in reply to Re: Re: Problem with Excel and Win32::OLE
in thread Problem with Excel and Win32::OLE
Looking in the OLE-Browser for ActiveWindow, I see it is a property of the Application object. My application object is $excel in the following:
use strict; use warnings; use Win32::OLE; my $excel = Win32::OLE->CreateObject('Excel.Application', 'quit'); $excel->{Visible} = 1; $excel->Workbooks->Add(); $excel->ActiveWindow->{DisplayGridlines} = 0; #gridlines disappear! print "press enter..."; <STDIN>;
Remember - if you are having problems, check the Object Model!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Problem with Excel and Win32::OLE
by Streen (Sexton) on May 07, 2004 at 13:24 UTC | |
by bmann (Priest) on May 07, 2004 at 15:19 UTC | |
by Streen (Sexton) on May 10, 2004 at 08:04 UTC | |
by bmann (Priest) on May 10, 2004 at 18:04 UTC |