Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Harlan,
"Harlan Grove" wrote: .... I have a named range "IsLocked" which refers to =GET.CELL(14,INDIRECT("RC",FALSE)). I conditionally format cells with =IsLocked to automatically set the background color of the cell to grey. The unlocked cells remain white so the user has a visual clue as to which cells he can modify. .... Finally a valid use for INDIRECT(ADDRESS(...)) - internationalization. =GET.CELL(14,INDIRECT(ADDRESS(0,0,4,0),0)) Brilliant! The ADDRESS function did the trick. I now defined two names: mR which refers to =LEFT(ADDRESS(0,0,4,NOW()*0),1) and mC =RIGHT(ADDRESS(0,0,4,NOW()*0),1). NOW()*0 always evaluates to 0 but it forces Excel to recalculate. Otherwise the ADDRESS function does not get updated when opening the workbook on a system with a different language. I could have used Application.CalculateFull in the Workbook_Open event, but this solution does not need VBA. So, mR & "[-1]" & mC can be used instead of "R[-1]C" and it's language-independent. Thanks for the assistance. -=Wim=- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
R1C1 referencing | Excel Worksheet Functions | |||
R1C1 | Excel Discussion (Misc queries) | |||
A:1 now R1C1 | Excel Worksheet Functions | |||
R1C1 versus A1 | New Users to Excel | |||
R1C1 reference | Excel Discussion (Misc queries) |