Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

phpspreadsheet

What are the main differences between PHPExcel and PhpSpreadsheet?

April 9, 2024 by Tarik
Categories php Tags php, phpexcel, phpoffice, phpspreadsheet Leave a comment

How to retrieve date from table cell using PhpSpreadsheet?

November 30, 2023 by Tarik
Categories php Tags php, phpspreadsheet Leave a comment

How to use PhpSpreadsheet without installation (like PHPExcel)

September 11, 2023 by Tarik
Categories php Tags php, phpexcel, phpspreadsheet Leave a comment

Composer require phpoffice/phpspreadsheet doesn’t work

July 21, 2023 by Tarik
Categories php Tags excel, php, phpspreadsheet Leave a comment

Merge Cell values with PHPExcel – PHP

May 24, 2023 by Tarik

There is a specific method to do this: $objPHPExcel->getActiveSheet()->mergeCells(‘A1:C1’); You can also use: $objPHPExcel->setActiveSheetIndex(0)->mergeCells(‘A1:C1’); That should do the trick.

Categories php Tags php, phpexcel, phpspreadsheet Leave a comment

Setting width of spreadsheet cell using PHPExcel

February 7, 2023 by Tarik

It’s a subtle difference, but this works fine for me: $objPHPExcel->getActiveSheet()->getColumnDimension(‘A’)->setWidth(10); Notice, the difference between getColumnDimensionByColumn and getColumnDimension Also, I’m not even setting AutoSize and it works fine.

Categories php Tags php, phpexcel, phpspreadsheet Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa