Message 1 of 8
Inventor To Excel Cast Error

Not applicable
01-23-2017
07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
All,
I have this code:
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 11711 StartFragment: 314 EndFragment: 11679 StartSelection: 314 EndSelection: 314SyntaxEditor Code Snippet
Sub Main TOWER_ID = GoExcel.CellValue(EXCEL_LINK , "SUPPORT", "tower_id_supt") SUPPORT_RING_WIDTH = GoExcel.CellValue(EXCEL_LINK , "SUPPORT", "wid_supt_ring_supt") BEARING_BAR_HEIGHT = GoExcel.CellValue(EXCEL_LINK , "SUPPORT", "ht_802_total_supt") BEARING_BAR = GoExcel.CellValue(EXCEL_LINK , "SUPPORT", "matl_thk_bearing_bar_supt") BOLTING_BAR_CL = GoExcel.CellValue(EXCEL_LINK , "SUPPORT", "bolt_bar_loc_supt") CLAMPING_REQUIRED = GoExcel.CellValue(EXCEL_LINK , "SUPPORT", "clamping_supt") CLAMP_QTY = GoExcel.CellValue(EXCEL_LINK , "SUPPORT", "qty_clamp_supt") MsgBox ("Tower I.D. = " & TOWER_ID & vbCrLf & "Support Ring Width= " & SUPPORT_RING_WIDTH & vbCrLf & "Bearing Bar Height = " & BEARING_BAR_HEIGHT & vbCrLf & "Bearing Bar Thickness = " & BEARING_BAR & vbCrLf & "Bolting Plates ON/OFF CL = " & BOLTING_BAR_CL & vbCrLf & "Clamping Required = " & CLAMPING_REQUIRED & vbCrLf & "Clamp Quantity = " & CLAMP_QTY) iLogicVb.UpdateWhenDone = True End Sub
The EXCEL_LINK is based off of a parameter that is fed by a 3RD party program..... Now I am having this issue:
Which I can't find the issue... I've even called out TOWER_ID as a double, which then will read the number within the excel sheet but won't update the parameter...
Please help!!