Replies: 1 comment 2 replies
-
|
Open-ExcelPackage with the original file, save it as a copy, and use export-excel on the copy to put in the values. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My source table has formulas in the cells and with the destination table, the values won't carry and result in REF.
I looked at the help command and I don't think there's a paste value parameter.
My current solution right now is seeing if I can just looping through my original sheets and do a copy/paste as value and then run my Copy-ExcelWorksheet.
Does anyone have another possible solution for me?
Edit 1:
I use Import-Excel to store the sheet and then pipe it to Export-Excel. This retains all values, however, we lose the original format of the sheet.
Beta Was this translation helpful? Give feedback.
All reactions