PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, October 4, 2022

[FIXED] How to generate excel2010 with PHPExcel

 October 04, 2022     phpexcel     No comments   

Issue

I am generating excel2017 with phpexcel. i am facing problem with COUNTIFS() function. Is there any way to generate excel2010 with phpexcel?

$writer = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');


Solution

There is no such format as Excel2010, that's simply a version of MS Excel. If you want to create an Excel BIFF-format (.xls) file, then you use the Excel5 Writer; if you want to create an OfficeOpenXML (.xlsx) file, then you use the Excel2007 Writer



Answered By - Mark Baker
Answer Checked By - Clifford M. (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing