Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All
From what I know, Excel doesn't support multiple areas in named ranges Does anyone know of any get arounds to this limitation from the fron end or by using VBA. Secondly, if however, programmatically, using VBA, I do create a name range say "myRange" referring to say :- Sheet1!A1:C50,Sheet2!A1:C50 with comma delimited multiple areas as shown above (at least 2 areas and which happen to be on different worksheets of the same workbook and then write a custom function to evaluate the contents of each o the cells within this named range, is it possible to determine th worksheet names of each of the areas of the multiple area named rang using the following statement :- firstAreaWorksheetName = myRange.Areas(1).Parent.Name secondAreaWorksheetName = myRange.Areas(2).Parent.Name etc. Or am I on the wrong track? Any suggestions would be highly valued. Best regards Deepak Agarwa -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple Named Ranges in the Same Column | Excel Worksheet Functions | |||
Countif & ranges consisting of multiple areas | Excel Worksheet Functions | |||
Countif & ranges consisting of multiple areas | Excel Worksheet Functions | |||
Countif & ranges consisting of multiple areas | Excel Worksheet Functions | |||
Countif & ranges consisting of multiple areas | Excel Worksheet Functions |