Message 1 of 23
Ilogic not reading my Excell file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Does anyone has any clue why ilogic is not reading my excell file.
When I copy the path from the rule, it will open correctly when i paste it in file explorer.
Screenshots of error box are attached.
Ilogic below.
SyntaxEditor Code Snippet
'---------start of iLogic code--------- StartRule:'read excel file GoExcel.Open("F:\JorisTest.xlsx") 'index row 2 through 100 For rowPN = 2 To 100 'find first empty cell in column B If (GoExcel.CellValue("B" & rowPN) = "") Then 'create a variable for the cell value that is one row less than 'the empty cell row lastPN = GoExcel.CellValue("B" & rowPN - 1) lastDesc = GoExcel.CellValue("C" & rowPN- 1) Exit For End If Next 'show results and ask user to confirm results question = MessageBox.Show("PN: " & lastPN & vbLf _ &"Description: " & lastDesc & vbLf _ & "Is this correct?", "iLogic from Excel", MessageBoxButtons.YesNo ) 'if answer is no If question = vbNo Then Goto StartRule 'if answer is yes exit rule Else End If