Thomas
Thomas
I could reproduce the issue and worked around using a name file (`-path exchart1.xlsx`) instead of having the file created as temp file: `$data | Export-Excel -WorksheetName 'Summary' -clearsheet -AutoNameRange...
> @jhoneill wanted to check with you on this before following the 🐇 OK
I get this err msg when I try to save when the underlying XLSX still is open (and therefore locked).
I ran into a similar issue and haven't found a solution so far. In the sample code below the resulting formulae: C1: "=MITTELWERT(WENN(ISTZAHL(@TEst!OSDuration); TEst!OSDuration))" C2: "=MITTELWERT(WENN(ISTZAHL(@TEst!OSDuration); TEst!OSDuration))" Workaound in C3:...
After a long-lasting Google search I could find a solution on https://github.com/EPPlusSoftware/EPPlus/issues/591 fixing the doubtful formula with '_xlfn.'. I wonder whether is a general one. $ws.Cells["c1"].Formula="=_xlfn.minifs(Test!OSDuration,Test!OSDuration,`"#NV`")" $ws.Cells["c2"].Formula="=_xlfn.maxifs(Test!OSDuration,Test!OSDuration,`"#NV`")" $ws.Cells["c3"].Formula="=_xlfn.averageif(Test!OSDuration,`"#NV`")"
Hi, I faintly remember having had a similar issue, which was resolved when I used the switch `-calculate` when closing the excel package, see also https://github.com/dfinke/ImportExcel/blob/master/mdHelp/en/close-excelpackage.md#-calculate
> Thank you so much , it work, I have other question, Could I calculate without closing the excel then i can get value :D, it will be great, because...
Thanks, your answer made cope with this thing a bit; I did s you told me, but no clue. I tried the script again, and... mirabile dictu... it works! Don't...
Exactly, that's what I did. I was flabbergasted. Well, I run some SQL statements to see how many rows are in certain tables of a number of tenant databases, grouped...