【发布时间】:2015-07-07 22:58:27
【问题描述】:
我在 Excel 中打开一个 CSV 文件并运行此宏来更改背景颜色。我正在尝试将这部分代码转换为 PowerShell。
lrow = Range("G" & Rows.Count).End(xlUp).Row
Set MR = Range("G2:G" & lrow)
For Each cell In MR
If UCase(Trim(cell.Value)) = "FALSE" Then
cell.Interior.ColorIndex = 3
End If
Next
将此代码转换为 PowerShell 的任何帮助。
谢谢 SR
【问题讨论】:
标签: excel powershell vba