KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Creeating header lines on a spreadsheet #2002

Closed Richb201 opened this topic on on Mar 30, 2021 - 1 comments

Richb201 commented on Mar 30, 2021

I'd like to create a few lines of header info like on the attached image. Below is the code that exports my table to Excel. How can i create the 3 lines of text?



   $title=sprintf("proforma 6765 for %s. warning: this spreadsheet is just a sample and should not be relied upon without expert due diligence",$this->session->userdata('campaign'));
        $description=sprintf("Sample of 6765");
        $report = new MyExport6765;
        $report->run()->exportToExcel(array(
            "properties" => array(
                "creator" => "Research Study Online",
                "title" => $title,
                "description" => $description,
                "subject" => "sample 6765",
                "keywords" => "",
                "category" => "",
            )
        ))->toBrowser($this->session->userdata('campaign') . " sample 6765.xlsx");

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None