摘要:
1,定义网格线种类 $LineStyle = "microsoft.office.interop.excel.xlLineStyle" -as [type] 2,指定网格线种类 $sheet.cells.item(2,3).borders.LineStyle = $LineStyle::xlDash 阅读全文
摘要:
关于Powershell的Excel操作,首先是基本操作 1,Excel应用定义 $excel = New-Object -ComObject Excel.Application 2, 对话框是否显示 $excel.displayAlerts = $false --不显示 $excel.displa 阅读全文