Pagebreak within Excel Sheet

mvdkmvdk Member Posts: 2
edited 2000-11-29 in Navision Financials
Hi there,

I want to transport Navision data to Excel (I use Automation). Everything is going okay, but I want to use Page Breaks
within Excel. I've tried a couple of things but i can't
make it work!

Does anyone know how to use page breaks within Excel?

Comments

  • mfabianmfabian Member Posts: 187
    E.g. Page break after Line 45:

    xlRange := xlWorksheet.Range('45:45');
    xlRange.PageBreak := -4135;


    Parameter for Pagebreak:
    xlPageBreakAutomatic = -4105
    xlPageBreakManual = -4135
    xlPageBreakNone = -4142

    Marcus


    Marcus Fabian
    m.fabian@thenet.ch
    +41 79 439 78 72

    [This message has been edited by fabian (edited 29-11-2000).]
    With best regards from Switzerland

    Marcus Fabian
Sign In or Register to comment.