Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Nothing.
from this context, A function can do nothing more than returning a value to the cell in which it is located - just like the built in functions. You could possibly have each function update a defined name or public variable or something and then use the calculate event to access that list and color the cells. -- Regards, Tom Ogilvy "James Cornthwaite" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing text appearance | Excel Discussion (Misc queries) | |||
Insert spreadsheet - without changing appearance? | Excel Discussion (Misc queries) | |||
How to format date as text without changing appearance? | Excel Discussion (Misc queries) | |||
Changing button appearance on custom toolbar. | Excel Programming | |||
Please, help! Changing ImageCombos appearance or alternative. Tha | Excel Programming |