I have a sheet which contains a range (G6:AM87). Users can enter numbers into this range. These numbers do NOT necessarily fill the range.
I am looking for a VBA script to analyze those cells which contain numbers to ensure every number is at least 8 digits apart from any other number in said range.
If all numbers are spaced 8 digits or more the range containing data is colored green. However if two numbers are less than 8 digits apart they get colored red.
For example:
If the range contains the numbers 8 and 15 they would be colored red because they overlap less than 8 digits.
Hope this helps define what I need.
Thanks for any and all assistance!
~Rob![]()
Bookmarks