Use Excel worksheet functions MATCH and INDEX in Ilogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Inventor 2015...
I am writing an Ilogic program that accesses data from an Excel workbook.
I would like to use the "MATCH" and "INDEX" worksheet functions in the Ilogic code however I am not sure if they are supported. I have used similar code with ".WorksheetFunction" in VB.net but can't seem to get it to work in Ilogic. I get the following message...
"Unable to get the Match property of the WorksheetFunction class"
Code as follows...
TEST = GoExcel.Application.WorksheetFunction.Match(THREAD_DIAMETER,GoExcel.CellValues("A1","A1000"),0)
To start I want to find the cell that holds the current value of the THREAD_DIAMETER parameter. This only uses the Match function as the portion where I need the Index function is built on the return of the match.
Is it possible to use the Match and Index functions in Ilogic? If yes what am I missing? Can you provide a sample syntax?