-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
Area: ExcelIssue related to Excel add-insIssue related to Excel add-insResolution: by designIssue is by designIssue is by design
Description
When a worksheet containing custom worksheet properties is copied, the properties are not copied with it.
Your Environment
- Platform [PC desktop, Mac, iOS, Office on the web]: PC desktop, Web
- Host [Excel, Word, PowerPoint, etc.]: Excel
- Office version number: Microsoft 365 MSO (Version 2502 Build 16.0.18526.20144) 64 Bit
- Operating System: Windows 11
- Browser (if using Office on the web): Edge, Chrome, Firefox
Expected behavior
Custom worksheet properties should be copied with the worksheet.
Current behavior
Custom worksheet properties are not copied with the worksheet
Steps to reproduce
- Install ScriptLab
- Open and Run "Custom Properties" example
- Set a new worksheet property
- Get all worksheet properties, they are printed in the console
- Copy the worksheet
- Get all worksheet properties for the new copied sheet, nothing is found, empty console log
Link to live example(s)
- Official ScriptLab "Custom Properties" example
Context
We use custom sheet properties in our add-in to maintain metadata for the reports.
Users reported a bug to us that the reports stopped working on sheets which they did a copy of.
Metadata
Metadata
Assignees
Labels
Area: ExcelIssue related to Excel add-insIssue related to Excel add-insResolution: by designIssue is by designIssue is by design