I have to add error handling code in the scriptwrapper file and the code would be in VB Script. I know try-catch would not work in the VB script. For the Below lines I have to capture the error same like try-catch. So how can I implement this?
wrapper.getVariable( "Efficiency" ).value = excel.range("'Cases'!$H$21")
wrapper.getVariable( "Plant_Price" ).value = excel.range("'Cases'!$H$328")
wrapper.getVariable( "Plant_Price_PerKW" ).value = excel.range("'Cases'!$H$331")
wrapper.getVariable( "Net_Present_Value" ).value = excel.range("'Cases'!$H$782")