heres a good quick tutorial
http://www.brainbell.com/tutorials/m...ple_Tables.htm
there is also this udf from ozgrid which does a vlookup across the same range on all sheets
http://www.ozgrid.com/VBA/VlookupAllSheets.htm
Function VLOOKAllSheets(Look_Value As Variant, Tble_Array As Range, _
Col_num as Integer, Optional Range_look as Boolean)
''''''''''''''''''''''''''''''''''''''''''''''''
'Written by OzGrid.com
'Use VLOOKUP to Look across ALL Worksheets and stops _
at the first match found.
'''''''''''''''''''''''''''''''''''''''''''''''''
Dim wSheet As Worksheet
Dim vFound
On Error Resume Next
For Each wSheet In ActiveWorkbook.Worksheets
With wSheet
Set Tble_Array = .Range(Tble_Array.Address)
vFound = WorksheetFunction.VLookup _
(Look_Value, Tble_Array, _
Col_num, Range_look)
End With
If Not IsEmpty(vFound) Then Exit For
Next wSheet
Set Tble_Array = Nothing
VLOOKAllSheets = vFound
End Function
once inserted in a new module(see where do i put code link in my signature)exactly the same as vlookup but use VLOOKAllSheets
=VLOOKAllSheets("your item",A1:A10,2,FALSE)
Bookmarks