Overview
When copying Excel sheets between workbooks, the inserted M-Files properties are not updated anymore.Solution
This issue can be seen because the workbook, where we have copied the sheets from, includes same named ranges (inserted M-Files properties) as the target workbook.For example, if you are using the same M-Files properties in both workbooks (source and target) and use the Excel's in-built "Move or Copy" option for the sheet, it will change the scope of the copied named ranges. This is default functionality in Excel as it will not allow duplicate named ranges to exists in the workbook with the same scope. However, if you copy the sheet to an empty workbook (or workbook not using the same M-Files properties), the scope of copied named values will not change and M-Files properties using those ranges are getting updated correctly.
To solve the issue, check from the target workbook if there are possible duplicate named ranges. M-Files properties are the ones starting as "MFiles_PG...". The duplicates would as default have a reduced scope (sheet level, not workbook).
