Here's the plan:
User highlights a region. For simplicity beginning at A1.
Suppose region is A1:i34.
User invokes macro IsolateRegion.
Macro selects all cols from J to end and hides them.
Macro selects all rows from 35 to end and hides them.
Done.
Result: a page with no extraneous rows and columns.
As I am not glib in Vbasic I hope you can offer a couple helps.
1. [Range("J1:iV65536").Select] -- while awkward -- is possible. But how
does one identify the beginning cell from the region A1:i34?
2. is there a more general way to select to the end?
Thanks
rs
Bookmarks