Hi All,
I got stuck at a silly problem:
- I have a worksheet that is getting dynamicaly updated through XML interface; Sometime, it is only 1 page - sometime, it can be 3 or 4 pages; No rules here!
- I have a range of cells (6rows x 4cols),at the end of the page, that can not be split between two pages; In other words, I need a code that would check if cell named "total" is located in last five rows of the current page;
If so, macro needs to select cell "total" and to move it to the first cell ( first row) of the next page;
MANY THANKS!
I got stuck at a silly problem:
- I have a worksheet that is getting dynamicaly updated through XML interface; Sometime, it is only 1 page - sometime, it can be 3 or 4 pages; No rules here!
- I have a range of cells (6rows x 4cols),at the end of the page, that can not be split between two pages; In other words, I need a code that would check if cell named "total" is located in last five rows of the current page;
If so, macro needs to select cell "total" and to move it to the first cell ( first row) of the next page;
MANY THANKS!