Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have written the macro (my first!) as below Function FindOldNominal(NomCode) FindOldNominal = WorksheetFunction.VLookup(NomCode, range("IMPORTRANGE"), 5, false) End Function This works fine... except.. If I alter the value in the defined range "ImportRange" say from 10 to 20 at nomcode X then FindOldNominal(X) still says 10, unless I go into the cell where the formula call of '=FindOldNominal(X)' is and press enter again. My question is I would like it to update it self automatically like the sum function "=sum" does. Is there a reason why this macro isn't or are all macros like this. Is there a way round it if this is the case. Many thanks in anticipation James |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
why doesnt my formula cell update automatically ? | Excel Discussion (Misc queries) | |||
Vlookup if #N/A then enter enter data in cell I4 | Excel Discussion (Misc queries) | |||
My first macro, uses Vlookup but doesnt update unless hit enter | Excel Worksheet Functions | |||
Please help : Macro doesnt work on other PCs | Excel Programming | |||
running a macro ina workbook that doesnt have that macro | Excel Programming |