摘要: excel如何自动调整列宽 1.打开Excel表格,选中要调整的表格。 2.点击"格式",选择"自动调整列宽",右键点击"设置单元格格式"。 3.点击"对齐"选项卡,选中"自动换行"即可。 文章来源:刘俊涛的博客 欢迎关注公众号、留言、评论,一起学习。 ________________________________________________... 阅读全文
posted @ 2019-10-28 17:26 刘俊涛的博客 阅读(10644) 评论(0) 推荐(0)
摘要: PHPexcel导入excel内容到数据库出错, $objPHPExcel=$objReader->load()报错 Could not open /public/upload/20191028/123456.xlsx for reading! File does not exist. 解决方法:在路径前加上 . 即可。 错误原因: 使用http://形式... 阅读全文
posted @ 2019-10-28 16:34 刘俊涛的博客 阅读(1561) 评论(0) 推荐(0)
摘要: 引用类: usePhpOffice\PhpSpreadsheet\IOFactory; usePhpOffice\PhpSpreadsheet\Cell\Coordinate; usePhpOffice\PhpSpreadsheet\Spreadsheet; usePhpOffice\PhpSpreadsheet\Writer\Xlsx; 导入: $inputFileType... 阅读全文
posted @ 2019-10-28 16:25 刘俊涛的博客 阅读(2950) 评论(0) 推荐(0)
摘要: Open with Sublime Sublime 的右键打开没有了,可以使用下面的bat命令添加。 @echo off SET st3Path=D:\Program Files\Sublime Text\sublime_text.exe rem add it for all file types @reg add "HKEY_CLASSES_ROOT\*\shell\Open with... 阅读全文
posted @ 2019-10-28 10:50 刘俊涛的博客 阅读(850) 评论(0) 推荐(0)