ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Retrieving the Collection of Ranges in a Workbook (https://www.excelbanter.com/excel-programming/321193-re-retrieving-collection-ranges-workbook.html)

K Dales[_2_]

Retrieving the Collection of Ranges in a Workbook
 
Names is the property that is designed to give you all the named ranges. Can
you give some examples of where/how it is failing? The only thing I can
think that might give a wrong result is if you are using Names on a worksheet
object qualifier instead of the Workbook (if you did ActiveSheet.Names it
would only give the names on the active worksheet, but ThisWorkbook.Names
should give them all).

"Adam" wrote:

Not to waste anyones time with this, but what is the easiest way to get a
collection of ranges that are named in a workbook?

I have tried using Names but it seems to not show all named ranges.

Thanks in advance!

Regards



All times are GMT +1. The time now is 05:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com