Hmmm...a sample workbook would be better. Teylyn is 100% correct, spreadsheet design would eliminate the macro need.
I suggest 2 possible approaches:
1) Name the Sheets according to the 4 letter Codes (like EEF), You could then reference the sheet name in a vlookup formula:
So, where I wrote "item_number" you would place the Address of your item (on the quote sheet) and where i put "Letter_code" you would need the address for the EETF type entry. ( i think you would have to build the string """ & A1 "'!$A$9:$I$10000" to actually reference that range of a given sheet).
2) possibly easier, Name the table (looks like A:I in your attachment cover the information needed) with a Named Range matching the EETF type of letter code.
Then the Vlookup function could reference the name of the range (table) and not the sheet, like:
anyway, this would be easy to do with an example workbook for illustration. if you upload, i can help get you started :D
Bookmarks