Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I did not know about the sort order of defined names. So I definitely
have learned something new. When you explain it as a "visibility" issue in relation to the sort order, it all now makes sense. I came across this in a VBA routine which uses Application.Evaluate to compute some values using named ranges. The easy fix was to put the sheet name in front of the defined name. For example: x = Application.Evaluate("MAX(somenamedrange)") now says x = Application.Evaluate("MAX('sheet name'!somenamedrange)") This gives me the result I want even if a chart sheet is the active sheet. Cheers, Brian |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Strange Named Ranges | Excel Discussion (Misc queries) | |||
Named ranges scope / workbook/worksheet level named ranges- changeswith variable use... | Excel Programming | |||
Need Help: Strange, Strange Behavior ( Not Me. My Model! ) | Excel Programming | |||
Strange behavior | Excel Programming | |||
Strange behavior. | Excel Discussion (Misc queries) |