Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Below what you gave me last week doesnt work. It doesnt like the last end if
Thank sub foo( dim look_rng as rang dim source_rng as rang dim target_rng as rang dim ret_valu with activeshee set look_rng = .range("A1" set target_rng = .rnage("B1" set source_rng = .range("C1:D100" end wit ret_value=application.vlookup(look_rng,source_rng, 2,0 if iserror(ret_value) the ret_value=" end i target_rng=ret_valu end i |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cut and Paste Macro | Excel Discussion (Misc queries) | |||
Macro needed to Paste Values and prevent Macro operation | Excel Discussion (Misc queries) | |||
Macro needed to Paste Values and prevent Macro operation | Excel Discussion (Misc queries) | |||
Macro to Paste to specific line, and continue to Paste each time on next row not over | Excel Programming | |||
Macro to Copy/Paste then Paste to Next Line | Excel Programming |