mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
try
This commit is contained in:
@@ -265,7 +265,8 @@ function Export-Excel {
|
||||
}
|
||||
} else {
|
||||
foreach ($Item in $PivotData) {
|
||||
$null=$pivotTable.DataFields.Add($pivotTable.Fields[$Item])
|
||||
$df=$pivotTable.DataFields.Add($pivotTable.Fields[$Item])
|
||||
$df.Function = 'Count'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user