ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,737
- Office Version
- 2007
- Platform
- Windows
Hi,
The following code is working fine & supplied below.
I have fixed headers at Row 7
My current row page count is 898
When i come to this worksheet called POSTAGE this code runs & i see the last 10rows of which i have values in cells.
So example.
Headers at row 7
The next row i see is the row 889 & goes down the page to row 898
The rows 899 900 901 902 etc etc is shown but empty.
What i am in need of is when i come to this page as opposed to seeing the last 10 rows with values is to see the last 16 rows with values.
Changing the code below from UP:=10 to UP:=16 made no difference as i was still able to see rows 889 to 898, so im a little confused
Have a nice day
The following code is working fine & supplied below.
I have fixed headers at Row 7
My current row page count is 898
When i come to this worksheet called POSTAGE this code runs & i see the last 10rows of which i have values in cells.
So example.
Headers at row 7
The next row i see is the row 889 & goes down the page to row 898
The rows 899 900 901 902 etc etc is shown but empty.
What i am in need of is when i come to this page as opposed to seeing the last 10 rows with values is to see the last 16 rows with values.
Changing the code below from UP:=10 to UP:=16 made no difference as i was still able to see rows 889 to 898, so im a little confused
Have a nice day
Code:
Private Sub BottomOfPage_Click() Application.GoTo Sheets("POSTAGE").Range("A" & Rows.Count).End(xlUp), True
ActiveWindow.SmallScroll UP:=10
End Sub