Below is the code I put together, very basic and elementary code, I'm new to iLogic. After modifying a parameter and running the code, I receive a RunTime error. Which I've attached.
Turns out, I don't need to do any iLogic with Inventor, this was intended for another software which can read directly from Excel.
Sub Pricing()
xlsPath = "C:\Users\Lyle\OneDrive - SCR Solutions\Documents\ConfiguratorPricing.xlsx"
GoExcel.CellValue(xlsPath, "Costing", "B10") = BELTLENGTH
GoExcel.CellValue(xlsPath, "Costing", "B11") = TOB
GoExcel.CellValue(xlsPath, "Costing", "B12") = TOB
GoExcel.CellValue(xlsPath, "Costing", "B9") = BeltWidth
Total_Cost = GoExcel.CellValue(xlsPath, "Costing", "B6")
GoExcel.Save
GoExcel.DisplayAlerts = False
End Sub
