diff --git a/Examples/ConditionalFormatting/ContainsBlanks.ps1 b/Examples/ConditionalFormatting/ContainsBlanks.ps1 new file mode 100644 index 0000000..bc6f744 --- /dev/null +++ b/Examples/ConditionalFormatting/ContainsBlanks.ps1 @@ -0,0 +1,15 @@ +$ContainsBlanks = New-ConditionalText -ConditionalType ContainsBlanks + +$data = $( + New-PSItem a b c (echo p1 p2 p3) + New-PSItem + New-PSItem d e f + New-PSItem + New-PSItem + New-PSItem g h i +) + +$file ="c:\temp\testblanks.xlsx" + +rm $file -ErrorAction Ignore +$data | Export-Excel $file -show -ConditionalText $ContainsBlanks \ No newline at end of file