Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm having trouble finding a fail safe syntax to return a Name object that refers to a cell range.
set obj = ActiveWorkbook.Names(somename) Here "somename" is a book level name that refers to a range of cells. The statement above returns a range object for the cells. Well, sometimes, but not all the time. If the first sheet in the workbook also contains a sheet level name called "somename", then the above statement returns those cells instead. So, I'm hoping there is some sort of statement syntax that will work regardless of whether the first sheet has a like named sheet level name. Thanks, Brian Murphy Austin, Texas |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Having trouble with returning a certian value using =IF function | Excel Discussion (Misc queries) | |||
Trouble returning to Normal view after inserting a header and foot | Excel Worksheet Functions | |||
setting Page Setup on a workbook level | Excel Discussion (Misc queries) | |||
Workbooks.Open(filename) : Returning err: Object reference not... (in VB.NET) | Excel Programming | |||
Why, when I create workbook-level name does it jump it to Sheet-level ? | Excel Programming |