-
|
Hello, I can't read the result of this formula: Here is my code for reading: But in the Excel file I can see the result: 0.03 For your information, I do have a: No problem with other formulas. Do you have a solution? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
|
do you have an xlsx you can share that has a simple repro? |
Beta Was this translation helpful? Give feedback.
-
|
Need a simple one. For example, single sheet, single cell (or a simple row) that demonstratest the problem. Alng with the actual PowerShell that tries to read the cell and does not five you the answer you expect. |
Beta Was this translation helpful? Give feedback.
-
|
try |
Beta Was this translation helpful? Give feedback.
-
|
I had a similar problem with referenced formulas. I solved it by assigning the search criteria to a cell and then writing each formula that uses that search criteria. I can see the results immediately on close.
|
Beta Was this translation helpful? Give feedback.

In fact, I've just found the problem. When I try to read the data in the Excel file just created by my script, it doesn't work.
However, if once my script has created the Excel file, I manually open the file AND save it, then I can read the data.
Is it possible to automate this opening and saving via PowerShell?