You can use Edit -> goto (special) command to select specific cells in a particular range.
check this command. Once you feel comfortable, record a macro. Then, if you require any further enhancements, reply me. One important thing, people tend to ignore unknown persons. Regards, Kishan Reddy, K On Aug 22, 7:32 pm, n3wsgr0ups <stozs...@gmail.com> wrote: > Need you brains guys! > > Suppose I have a defined range on my worksheet, and within that range > I have numbers or blank cells. i'm trying to write some vba code that > given 2 cells as a start and stop point, finds all the blank cell > "paths" between those two numbers. > > ie suppose 1 is at a1 and 5 is at c4 and the range is a1 to e6, i need > to produce a list of non blank cell paths between the 1 and 5. a path > being a way to traverse the cells between the two numbers by "walking" > on non-blank cells including cells that touch at corners. > > Thanks in anticipation. -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 7000 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe