Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
good day,
i have the following so far in my macro: .... supcode = Range("B4").Value .... If supcode = "CLI" Then ActiveCell.Offset(0, 4) = "=VLOOKUP(RC[-4], '[Order Generator.xlsm]CLI'!C2:C4,2,FALSE)" .... right now i have this code repeated several times for each supcode that may exist and i am usingn an if statement for each possible "supcode". i would like to replace all the if statements, and change the "CLI" to use the "supcode" value. how do i get the "supcode" value into the vlookup code? thank you, jat |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLOOK ups accross Multiple Tabs | New Users to Excel | |||
Vlookup Different tabs based on Dates | Excel Worksheet Functions | |||
VLOOK-pivot table expanding want to update vlook automatically | Excel Worksheet Functions | |||
VLOOK-pivot table expanding want to update vlook automatically | Excel Worksheet Functions | |||
How can I name Worksheet Tabs based on some king of reference? | Excel Worksheet Functions |