0

I Use Laravel php Framework and laravel-excel plugin For edit pre created Microsoft Macro Excel file.this process worked charm but after edit existing macro sheet buttons not display.how to solve my problem?

I attached My Requirement and Result as a Picture.
Buttons with Macro File : enter image description here
output File : enter image description here

I use,
Laravel 5.54
Laravel-Excel 2.1
Php 7.3.2
with Xampp Server

        return Excel::load('Salary Bank File.xlsm', function($excel) use ($data) {
            $excel->sheet('com_upload ', function($sheet)  use ($data)
            {

                foreach ($data as $data) {
                $sheet->appendRow($data);
                }
           }); 
        })->download('xlsm');

Ramprasath Selvam
  • 3,868
  • 3
  • 25
  • 41

0 Answers0