Skip to content

Commit b14b256

Browse files
feat: OpenXML.Excel.File.get_Formula ( Fixes #26 )
1 parent 4604413 commit b14b256

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
$formulaCells = [Ordered]@{}
2+
foreach ($worksheetRow in $this.content.worksheet.sheetdata.row) {
3+
foreach ($worksheetColumn in $worksheetRow.c) {
4+
if ($worksheetColumn.f) {
5+
$formulaCells[$worksheetColumn.r] = $worksheetColumn.f
6+
}
7+
}
8+
}
9+
$formulaCells

0 commit comments

Comments
 (0)