changing the appearance of a cell accessed
I have written the macro as below
Function FindOldNominal(NomCode, Range)
FindOldNominal = WorksheetFunction.VLookup(NomCode, Range,5,false)
End Function
My question is what code can I insert that will change the colour (say) of
the cell accessed by this function.
My aim is to show all the cells accessed (and contents returned) by changing
their colour so I know which cells in my table have not yet been looked at.
Thanks
James
|