Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.
This repository was archived by the owner on Jan 2, 2019. It is now read-only.

How to load button, checkbox,macro excel template #473

@trongphiem

Description

@trongphiem

Hi Everyone,

I have file template excel with checkbox, button, and macro script.

I need insert some data, and save new file but checkbox and button no display.

Please help me.
This is simple my code.
$objReader = \PHPExcel_IOFactory::createReader('Excel2007');
$objPHPExcel = $objReader->load("test.xlsx");
$objWriter = \PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
$objPHPExcel->getActiveSheet()->setCellValue('A13', 'Hello world');
$objWriter->save('news.xlsx');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions