- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all, I used to use a piece of code to search an excel file;
The code when ran would look up an excel sheet, if it found an existing doc number in column A that matched the inventor filename, AND then also found any text in column B then it proceeded to create a new row.
If (GoExcel.CellValue("A" & oRow)) = oDocNumber & (GoExcel.CellValue("B" & oRow)) = "1" Then......
I want now to have something similar, in that I'd like it to still check column A for the doc number but now I would like to check the cell value in column B and see it it matches an inventor variable, if it does not match the variable; then it creates a new row
If (GoExcel.CellValue("A" & oRow)) = oDocNumber & (GoExcel.CellValue("B" & oRow)) = an inventor variable Then......
many thanks for any assistance
Solved! Go to Solution.