fixes to casing, and some basic functions changed to advanced

This commit is contained in:
jhoneill
2019-11-25 23:40:51 +00:00
parent feb493e397
commit 5e87c3f6a7
43 changed files with 118 additions and 133 deletions

View File

@@ -1,5 +1,5 @@
Function Add-ConditionalFormatting {
Param (
function Add-ConditionalFormatting {
param (
[Parameter(Mandatory = $true, Position = 0)]
[Alias("Range")]
$Address ,
@@ -50,7 +50,7 @@
)
#Allow conditional formatting to work like Set-ExcelRange (with single ADDRESS parameter), split it to get worksheet and range of cells.
If ($Address -is [OfficeOpenXml.Table.ExcelTable]) {
if ($Address -is [OfficeOpenXml.Table.ExcelTable]) {
$Worksheet = $Address.Address.Worksheet
$Address = $Address.Address.Address
}