Dear All Master,
I want the vba code in the db sheet in the table name which is "DB".
I want in the id column I just type and immediately enter or type and immediately tab, copy the value
then it will automatically appear in the value in the Name & Job column.
This is my link : VBA Worksheet Change Event formula.xlsm
file
thanks
roykana
I want the vba code in the db sheet in the table name which is "DB".
I want in the id column I just type and immediately enter or type and immediately tab, copy the value
then it will automatically appear in the value in the Name & Job column.
This is my link : VBA Worksheet Change Event formula.xlsm
file
VBA Code:
ption Explicit
Sub multivlookupV2()
Application.ScreenUpdating = False
With Range(Cells(2, 2), Cells(2, 2).End(xlDown))
.FormulaR1C1 = "=IFERROR(VLOOKUP([@ID],MASTER,2),"""")"
.Value = .Value
End With
With Range(Cells(2, 3), Cells(2, 3).End(xlDown))
.FormulaR1C1 = "=IFERROR(VLOOKUP([@ID],MASTER,3),"""")"
.Value = .Value
End With
Application.ScreenUpdating = True
End Sub
roykana