{"action":"opened","issue":{"url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/627","labels_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/627/comments","events_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/627/events","html_url":"https://github.com/PHPOffice/PHPExcel/issues/627","id":100094259,"number":627,"title":"Unable to insert a new column","user":{"login":"realtebo","id":1268699,"avatar_url":"https://avatars.githubusercontent.com/u/1268699?v=3","gravatar_id":"","url":"https://api.github.com/users/realtebo","html_url":"https://github.com/realtebo","followers_url":"https://api.github.com/users/realtebo/followers","following_url":"https://api.github.com/users/realtebo/following{/other_user}","gists_url":"https://api.github.com/users/realtebo/gists{/gist_id}","starred_url":"https://api.github.com/users/realtebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realtebo/subscriptions","organizations_url":"https://api.github.com/users/realtebo/orgs","repos_url":"https://api.github.com/users/realtebo/repos","events_url":"https://api.github.com/users/realtebo/events{/privacy}","received_events_url":"https://api.github.com/users/realtebo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-10T15:27:30Z","updated_at":"2015-08-10T15:27:30Z","closed_at":null,"body":"Simple code\r\n    $inputFileType = PHPExcel_IOFactory::identify($file_path);\r\n    $objReader = PHPExcel_IOFactory::createReader($inputFileType); \r\n    $objReader->setReadDataOnly(false);\r\n    $objPHPExcel = $objReader->load($file_path);\r\n    $sheet          = $objPHPExcel->setActiveSheetIndex(0);\r\n    $sheet->insertNewColumnBeforeByIndex($column_number+$inserted+1,1);\r\n\r\nWhen outputting the file, no new column is inserted. I echoed the vars to be sure hat index was right and indexes were right. \r\n\r\nAlso, I tried to se cell value in the header cell of the \"new column\" and I can see that the new header is written but it overrides the old column, because this old column is not shifted to the right as I expected.\r\n\r\nWhat error am I doing?"}}