Can I use VB to do a vlookup or equivalent to find data in an external file with out first opening that external file (file is to big).
The external file is a csv file. Normally I'd open it then do a vlookup against it. Since the file is 150,000 rows I can't do that. So I'd like to write a function in VB to fetch the data for each cell in a column. I tried using an external data query but I need every cell in a column to return unique data for that cell and I don't know how to pass a list of part numbers to an external query without doing each cell one at a time.
Please help![/b]
The external file is a csv file. Normally I'd open it then do a vlookup against it. Since the file is 150,000 rows I can't do that. So I'd like to write a function in VB to fetch the data for each cell in a column. I tried using an external data query but I need every cell in a column to return unique data for that cell and I don't know how to pass a list of part numbers to an external query without doing each cell one at a time.
Please help![/b]