changed: verboseoutlog to outlog (reducing runtime)

This commit is contained in:
Edmond Gebara 2026-07-06 22:19:54 +02:00
parent 9acdffdbb8
commit 9e18f320cd
9 changed files with 434 additions and 437 deletions

View file

@ -14,9 +14,9 @@ function TestExcel {
$colCount = $workSheet.UsedRange.LastColumn
for ($i = 2; $i -le $rowCount; $i++) {
outLogVerbose 'for ($i = 2; $i -le $rowCount; $i++) iteration:' $i
outLog ('for ($i = 2; $i -le $rowCount; $i++) iteration: ' + $i)
for ($j = 1; $j -le $colCount; $j++) {
outLogVerbose 'for ($j = 1; $j -le $colCount; $j++) iteration:' $j
### outLogVerbose 'for ($j = 1; $j -le $colCount; $j++) iteration:' $j
$value = $workSheet.Range[$i, $j].DisplayText
$newValue = $value -replace "`n", " --- " -replace "`r", " --- " -replace ";", "--" -replace "`"", "'"
$workSheet.Range[$i, $j].Text = $newValue