Page 1 of 1

Problem with Page Breaks

Posted: Tue Dec 09, 2014 5:56 pm
by maseline_98

Code: Select all

    XLS[SHEET].PrintSettings.PrintTitles(-1, -1, 0, 0);

          with XLS[SHEET].PrintSettings.VertPagebreaks.Add do
          begin
            col   := 0;
            Row1  := 280;
            Row2  := 65535;
          end;


    XLS[SHEET].WorkspaceOptions          := [woFitToPage];
    XLS[SHEET].PrintSettings.FitWidth    := 1;
    XLS[SHEET].PrintSettings.FitHeight   := 500;
I'm trying to get the same excel functionality to:
Page Layout Tab-->Breaks-->Insert Page Break

Re: Problem with Page Breaks

Posted: Fri Dec 12, 2014 1:34 pm
by larsa
Hello

What is the problem now?