Now I'm trying to find how to get current row number or cell id in laravel excel but i cannot find it , i need to get the current row number or cell id because i need to produce some error message that mentioning the current row number or cell id.
,
please open the excel image link to see the image okay for example ,based on the image i want to know the current active cell and for example active cell is at column B and row 2 , how do i get that cell index or row number ?
$sheet = 'public/site.xls';
// load excel content
$excel = Excel::load($sheet, function ($reader)
{
$results = $reader->toObject();
foreach($results as $result)
{
// i want to know how to retrieve active cell index here
}
});
Note: i don't want the value of the cell but i want index of the cell