If Excel keeps blocking files from being inserted, chances are the file is blocked by Trust Center, or maybe the workbook or locked. In some situations, we could be dealing with a corrupted file.
To know more about these above-mentioned steps, keep reading. Following that, go to the File Block Settings tab and make sure that the Open selected file types in Protected View setting is selected.