Message 1 of 3

Not applicable
08-13-2012
01:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello ALL! I need your help guys!!!!
Please see script below and attached spreadsheet. If parameter DisBeamOffset doesn`t match any of numbers from spreadsheet, inventor gives me an error:
Excel cell not found (bad cell address?): "B-1"
NUM=GoExcel.CellValue("B" & CStr(GoExcel.FindRow("c:\Work12\Designs\ILOGIC\iDropOverFrame\drop over common parts.xls", "Sheet1", "DISCHARGE", "=", DisBeamOffset)))
FILENAME="c:\Work12\Designs\PARTS\PARTS - T\T37000-T37999\" & NUM & ".ipt"
Component.Replace("Sheet1", FILENAME, True)
Component.Replace("Sheet2", FILENAME, True)
How to handle this? Is there any chance to change script and catch the error?
Thanks much!
Solved! Go to Solution.