Replies: 2 comments 2 replies
-
|
To get a real cell value the one must be rendered first. The module does not render Excel file, it just creates a declaration of Excel document in form of a file. Then Excel app renders the content of your file. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@rafall92 - @scriptingstudio is correct. I worked it up this way. Will try the $data = ConvertFrom-Csv @"
data1,data2
1,32
5,30
=Sum(A2:B2),=Sum(A3:B3)
"@
$xlfile = "$psscriptroot\testData.xlsx"
Remove-Item $xlfile -ErrorAction SilentlyContinue
$data | Export-Excel $xlfile -Calculate
Import-Excel $xlfile |
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.
-
I try to read value from my formula cell. I find out that if i save file manualy, and then read file again and get value from cell I can get proper value. But if i do it with this script, I always get "#Value" in return
Beta Was this translation helpful? Give feedback.
All reactions