in reply to Re: excel page breaks???
in thread Help inserting page break in Microsoft Excel using OLE
I want to insert a page break at row 6. Now, the VB code to do this is:use warnings; use strict; use OLE; use Win32::OLE::Const 'Microsoft Excel'; my $excel = CreateObject OLE 'Excel.Application'; my $workbook = $excel -> Workbooks -> Add; my $sheet = $workbook -> Worksheets("Sheet1"); $sheet -> Activate(); $sheet -> Range("6:6") -> Activate();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: excel page breaks???
by ikegami (Patriarch) on Mar 01, 2005 at 18:42 UTC | |
by jobs_ron (Acolyte) on Mar 01, 2005 at 18:52 UTC | |
by RazorbladeBidet (Friar) on Mar 01, 2005 at 18:54 UTC | |
by jobs_ron (Acolyte) on Mar 01, 2005 at 19:05 UTC | |
|
Re^3: excel page breaks???
by holli (Abbot) on Mar 01, 2005 at 18:28 UTC | |
by ikegami (Patriarch) on Mar 01, 2005 at 18:44 UTC | |
|
Re^3: excel page breaks???
by talexb (Chancellor) on Mar 01, 2005 at 18:14 UTC |