mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-15 15:53:32 +00:00
fixes to casing, and some basic functions changed to advanced
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user