4j.documents4j-transformer-msoffice-excel.1.1.12.source-code.excel_assert.vbs Maven / Gradle / Ivy
' Configure error handling to jump to next line.
On Error Resume Next
' Try to get running MS Excel instance.
Dim excelApplication
Set excelApplication = GetObject(, "Excel.Application")
' Signal whether or not such an instance could not be found.
If Err <> 0 then
WScript.Quit -6
Else
WScript.Quit 3
End If
© 2015 - 2025 Weber Informatics LLC | Privacy Policy