Initial commit, date conditional formatting

This commit is contained in:
dfinke
2016-01-19 17:31:39 -05:00
parent fc3a17bec8
commit a53c12d2f4
14 changed files with 165 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
echo Last7Days LastMonth LastWeek NextMonth NextWeek ThisMonth ThisWeek Today Tomorrow Yesterday |
% {
$text = @"
`$f = ".\testExport.xlsx"
rm `$f -ErrorAction Ignore
.\GenDates.ps1 |
Export-Excel `$f -Show -AutoSize -ConditionalText `$(
New-ConditionalText -ConditionalType $_
)
"@
$text | Set-Content -Encoding Ascii "Highlight-$($_).ps1"
}