Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Going through Named Ranges in only specific Sheets in my WorkBook
Hi all!
So, having trouble with ranges... I can't seem to get right a way to run through Named Ranges that belong to only a given Sheet...and then do stuff to them. Any ideas?? '--------sub beg------------- Sub LoopThruRanges() Dim rng_names As Variant Dim n As Variant Set rng_names = ThisWorkbook.Names For Each n In rng_names With Sheets("OnlyforThisSheet") MsgBox n 'debug End With Next End Sub '--------sub end--------------- I want to run a routine for only those ranges that are inside one (or a few) Sheets I will specify, instead of bringing on all named ranges. Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Named Ranges in various sheets | Excel Programming | |||
Named ranges scope / workbook/worksheet level named ranges- changeswith variable use... | Excel Programming | |||
Print sheets by "All Sheets in workbook, EXCEPT for specific named sheets". Possible? | Excel Programming | |||
Named ranges on other sheets | Excel Programming | |||
named ranges and copying sheets to another workbook | Excel Programming |