0
은 내가 PowerShell에서 동일한을 달성하고자하는 Excel 2003의 VBAPowershell : Excel 응용 프로그램의 계산 모드를 설정하는 방법은 무엇입니까?
Application.Calculation = xlCalculationManual
입니다. 내가 무슨 짓을 :
$excel = New-Object -com Excel.Application
$xlCalculationManual = -4135
$excel.Calculation = $xlCalculationManual
값은 -4135 거기에서 얻을 수있다 :
Exception setting "Calculation": "Unable to set the Calculation property of the Application class"
At C:\Documents and Settings\AUser\Desktop\ppp2eikon.ps1:11 char:8
+ $excel. <<<< Calculation = $xlCalculationManual
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyAssignmentException
이 속성을 설정하는 적절한 방법은 무엇입니까 : http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.constants%28v=office.14%29.aspx
그것은 예외가 발생?