Need formula/code for "selection falls within set range"
Posted by Derek on January 15, 2002 4:25 AM
I am looking for a formula or macro code that will tell me if a selection of cells falls entirely within a range. For example, if my set range is C4:G5, then I need to know if any of the cells I have selected fall outside of this area. I don't need to know which ones fall outside, just that some do.
I have found a very complex way of acheiving this by splitting addresses and using vlookup, but I am sure there must be a simpler solution.
Any help will be much appreciated
Derek