How to add data to an existing Excel file with PHP?

后端 未结 5 476
灰色年华
灰色年华 2021-01-22 14:17

I have a Excel file with forms and controls. As it is not possible to create a Excel file with forms, controls and VBA code from scratch using PHP, I thought I could upload my e

5条回答
  •  心在旅途
    2021-01-22 14:33

    It's pretty easy to add with PHPExcel - load file, add data after last row, save file... unfortunately, forms and VBA code aren't supported.

    To retain those, you'll need to use COM, which restricts you to a Windows server with MS Excel installed.

提交回复
热议问题