Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a sheet which contains 20+ pivot tables. I have a 2nd sheet with a load of buttons on, which when clicked take the user to the correct part of the pivot table sheet. Sheets("Pivot Tables").Select Range("A211").Select The pivot table sheet is 500+ lines (some of the PT's are quite big!) and I have 'split' the sheet so the first 2 rows are always shown. When I click on the button it takes me to the correct location, but it puts me in the 'middle of the screen' (I then have to scroll down, half a page to see the full table) I would like it so that in the instance above the rows will go 1, 2, 211, 212 (it currently goes 1, 2, 188, 189, 190..... so row 211 is in the middle of the screen. I don't want to hide or remove any of the rows, just have them show at the top of the screen insread of in the middle. I hope that makes sense, and is possible? TIA, AW |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Perfect, cheers Don.
"Don Guillett" wrote: How about a nice ONE liner. change sheet and range to suit Sub gothere() Application.Goto Sheets("forms").Range("a13"), scroll:=True End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "ArcticWolf" wrote in message ... Hi, I have a sheet which contains 20+ pivot tables. I have a 2nd sheet with a load of buttons on, which when clicked take the user to the correct part of the pivot table sheet. Sheets("Pivot Tables").Select Range("A211").Select The pivot table sheet is 500+ lines (some of the PT's are quite big!) and I have 'split' the sheet so the first 2 rows are always shown. When I click on the button it takes me to the correct location, but it puts me in the 'middle of the screen' (I then have to scroll down, half a page to see the full table) I would like it so that in the instance above the rows will go 1, 2, 211, 212 (it currently goes 1, 2, 188, 189, 190..... so row 211 is in the middle of the screen. I don't want to hide or remove any of the rows, just have them show at the top of the screen insread of in the middle. I hope that makes sense, and is possible? TIA, AW . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format page number in excel footer to start at a specific page # | Excel Discussion (Misc queries) | |||
How do I do page breaks when view menu doesnt page break preview | Excel Discussion (Misc queries) | |||
save page ,clear page, reuse same page | Excel Programming | |||
change and/or remove page number watermark in page break preview | Excel Discussion (Misc queries) | |||
excel fit to 1 page shows 1 page but not all data is on that page | Excel Programming |