Hi,
I'd like to check if a cell is in a named range. Catch is, I don't know in advance what the named range will be (these are defined earlier). My function is as follows :
Thanks,Please Login or Register to view this content.
amphi
Hi,
I'd like to check if a cell is in a named range. Catch is, I don't know in advance what the named range will be (these are defined earlier). My function is as follows :
Thanks,Please Login or Register to view this content.
amphi
I'm assuming this means you don't know the cells the range will cover, but presumably you do know the name of the range. If so, try this. Change "named_range" to whatever the actual name of the range is.I don't know in advance what the named range will be (these are defined earlier)
Please Login or Register to view this content.
Thanks walruseggman. The issue I have is that I don't have the specific "named_range" as I defined the names in a previous loop. What I do have is "Quote14" "Quote23" "Quote36" "Quote42" etc.
Edit: I'll solve the named_range issue with Range("Quote" & Column.Count)
Last edited by amphinomos; 05-27-2015 at 11:43 AM.
Hi amphinomos
Here's some Code I have in my toolbox...perhaps you can adapt it
Please Login or Register to view this content.
John
If you have issues with Code I've provided, I appreciate your feedback.
In the event Code provided resolves your issue, please mark your Thread as SOLVED.
If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.
Thanks ! Hadn't thought about looping through the names collection !
You're welcome...glad I could help. Thanks for the Rep.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks