How to remove hidden columns when reading file with phpExcel

When reading a sheet with phpExcel using the rangeToArray method, hidden columns are also parsed.

Is there a method I can use before rangeToArray to remove hidden columns?

This is my code:

$keyArr = $objPHPExcel->getActiveSheet()->rangeToArray('A1:F1');

The l column is hidden;

https://blog.csdn.net/qq_34372929/article/details/79087721