(sorry to start a 3rd post in 2 days...I'm dabbling in foreign excel territory and Google isn't helping).
I have a worksheet that spreads over 2 pages. I have command buttons that insert rows as needed in various places. The worksheet is basically spread into 5 sections/categories of items and the inserted rows could appear in any of those 5 categories. It could eventually spill over to 3 pages or more.
How do I prevent a page break from splitting the sections/categories up? I'm ok with the page break being moved around in between sections, but I don't want it to go in between rows within a section. If i add enough rows to section A that it pushes part of Section B onto the next page, I want it to move all of section B onto the next page.
I have a worksheet that spreads over 2 pages. I have command buttons that insert rows as needed in various places. The worksheet is basically spread into 5 sections/categories of items and the inserted rows could appear in any of those 5 categories. It could eventually spill over to 3 pages or more.
How do I prevent a page break from splitting the sections/categories up? I'm ok with the page break being moved around in between sections, but I don't want it to go in between rows within a section. If i add enough rows to section A that it pushes part of Section B onto the next page, I want it to move all of section B onto the next page.