Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm still struggling with this iLogic error when writing to an Excel file and pulling a Value from that Excel to a parameter in my model. Are there any known solutions to 0x800AC472? My code is below, I've tried using the full file path name and with no success in removing the error. The rule will successfully pull a value into my parameter the first time then error out after the second.
Dim Filename As String = "Straight Conveyor Pricing.xlsx" Dim SheetName As String = "Conv costing" GoExcel.Open(Filename, SheetName) GoExcel.CellValue("B9") = BeltWidth GoExcel.CellValue("B10") = BeltLength GoExcel.CellValue("B11") = Infeed_End GoExcel.CellValue("B12") = Discharge_End GoExcel.CellValue("B13") = Legs GoExcel.CellValue("B14") = Feet GoExcel.CellValue("B15") = Belting GoExcel.CellValue("B16") = BeltingType GoExcel.CellValue("B17") = BeltColor GoExcel.CellValue("B18") = Flights GoExcel.CellValue("B19") = Flight_Spacing GoExcel.CellValue("B20") = Construction GoExcel.CellValue("B21") = FlangeHeight GoExcel.CellValue("B22") = Finish GoExcel.CellValue("B24") = Drive_Style GoExcel.CellValue("B25") = Drive_Position GoExcel.CellValue("B26") = MotorVoltage GoExcel.CellValue("B27") = Drive_Speed GoExcel.CellValue("B28") = Motor GoExcel.CellValue("B29") = Gearbox GoExcel.CellValue("B30") = AdjustableGuides GoExcel.CellValue("B31") = BeltLifters GoExcel.CellValue("B32") = DripPan GoExcel.CellValue("B33") = BeltScraper GoExcel.CellValue("B34") = SprayBar GoExcel.CellValue("B35") = GearboxGuards Price = GoExcel.CellValue("B6") GoExcel.Save GoExcel.Close
Solved! Go to Solution.