PowerShell操作已打开的Excel

58次阅读
没有评论

$excel=[Runtime.InteropServices.Marshal]::GetActiveObject("Excel.Application")
$excel.workbooks
正文完
 
评论(没有评论)