Hi,
Is there a way to print the sheet of TXLSSpreadSheet direct to printer?
Thank you very much!
Print excel directly
Re: Print excel directly
Hello
Here is a sample:
Here is a sample:
Code: Select all
uses XLSBookPrint2;
var
Print: TXLSBookPrint;
begin
Print := TXLSBookPrint.Create(Nil);
try
Print.XSS := XSS;
Print.FirstPage := 0;
Print.LastPage := 2;
Print.Print;
finally
Print.Free;
end;
end;
Lars Arvidsson, Axolot Data