D
David Thielen
Hi;
Ok, lets assume I have a spreadsheet that uses some (not all cells) in
B1:H7. But many cells are empty including A1 and H7 - the only cell in column
H is H3 and the only cell in row 7 is E7.
1) Worksheet.UsedRange is then A1:H7 - correct? In other words, any
non-empty cell is inside UsedRange?
2) If I am on a cell, for example, C5, I need to do a search from C5 to H7
in row major order. I can't do Worksheet.get_Range(C5, H7) because that will
miss A6:B7. How can I set a Range to do a Find on that will first search
C5:H5 and then A6:H7? I can do 2 searches but that is inefficient.
3) I have the same thing where I need to do a previous search from C5 back
to A1. So first it needs to search A5:C5 and the A1:H4.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
Ok, lets assume I have a spreadsheet that uses some (not all cells) in
B1:H7. But many cells are empty including A1 and H7 - the only cell in column
H is H3 and the only cell in row 7 is E7.
1) Worksheet.UsedRange is then A1:H7 - correct? In other words, any
non-empty cell is inside UsedRange?
2) If I am on a cell, for example, C5, I need to do a search from C5 to H7
in row major order. I can't do Worksheet.get_Range(C5, H7) because that will
miss A6:B7. How can I set a Range to do a Find on that will first search
C5:H5 and then A6:H7? I can do 2 searches but that is inefficient.
3) I have the same thing where I need to do a previous search from C5 back
to A1. So first it needs to search A5:C5 and the A1:H4.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm