Greetings! I am Ajibola, and I am eager to assist you with confidence and assertiveness. I guarantee to provide you with exceptional support.
This error may occur if you have a corrupted or incompatible CustomXMLParts file in your workbook. This file contains some metadata and settings for PowerPivot, such as the Sandbox Table Count. To fix this problem, you can try one of the following solutions:
• Delete the CustomXMLParts file from your workbook by following these steps:
• Open your workbook in Excel and press Alt+F11 to open the Visual Basic Editor.
• Press Ctrl+G to open the Immediate window.
• Type ThisWorkbook.CustomXMLParts(1). Delete and press Enter.
• Save and close your workbook.
• Repair your workbook by following these steps:
• Open Excel and go to File > Open.
• Browse to the location of your workbook and select it.
• Click the arrow next to the Open button and select Open and Repair.
• Choose Repair to recover as much data as possible
For further reference, you can also find similar issues and solutions in the link provided:
https://powerusers.microsoft.com/t5/Using-Flows/Error-value-does-not-fall-within-the-expected-range-when-giving/td-p/348324
If you have any further questions or need additional assistance, please feel free to ask. I'm here to help!
Give back to the Community. Help the next person with this issue by indicating if this reply solved your problem. Click Yes or No below.
Kind regards.
Ajibola.