Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2025, 01:24 PM
MartinGM MartinGM is offline SCROLLROW on a sheet with FREEZE PANES Windows 11 SCROLLROW on a sheet with FREEZE PANES Office 2021
Competent Performer
SCROLLROW on a sheet with FREEZE PANES
 
Join Date: May 2023
Location: England
Posts: 115
MartinGM is on a distinguished road
Default SCROLLROW on a sheet with FREEZE PANES

I was struggling to get SCROLLROW to work on the sheet where FREEZE PANES was active - then I read the definition of SCROLLROW which says that it scrolls within the first pane (the column titles in my case) !



How can I workaround this limitation to scroll to a chosen row in the second pane ?

I tried unfreezing the titles from VBA, which did allow SCROLLROW to work as I wemted to, but then I cannot see how to freeze the top row again whilst retaining the row I want to be visible.

Thanks

Last edited by MartinGM; 10-30-2025 at 02:35 AM.
Reply With Quote
  #2  
Old 10-30-2025, 08:03 AM
p45cal's Avatar
p45cal p45cal is offline SCROLLROW on a sheet with FREEZE PANES Windows 10 SCROLLROW on a sheet with FREEZE PANES Office 2021
Expert
 
Join Date: Apr 2014
Posts: 958
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

I didn't have a problem wih this:
Before:
2025-10-30_145845.jpg
After:
2025-10-30_145908.jpg
Perhaps attach a really simple workbook set up as you have it (preferably macro-less) with the row you want to scroll row to?
Reply With Quote
  #3  
Old 10-30-2025, 09:24 AM
MartinGM MartinGM is offline SCROLLROW on a sheet with FREEZE PANES Windows 11 SCROLLROW on a sheet with FREEZE PANES Office 2021
Competent Performer
SCROLLROW on a sheet with FREEZE PANES
 
Join Date: May 2023
Location: England
Posts: 115
MartinGM is on a distinguished road
Default

Thank you - you may have given me a helpful hint !

I am coming to the worksheet from another worksheet and I think that is what defaults to the upper frozen pane.

You seem to have your active cell already in the lower pane, so SCROLLROW becomes active in the lower pane.

So I am going to try first selecting a cell in the lower pane, THEN activating SCROLLROW. I will let you know how I get on . . .
Reply With Quote
  #4  
Old 10-30-2025, 09:30 AM
p45cal's Avatar
p45cal p45cal is offline SCROLLROW on a sheet with FREEZE PANES Windows 10 SCROLLROW on a sheet with FREEZE PANES Office 2021
Expert
 
Join Date: Apr 2014
Posts: 958
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by MartinGM View Post
You seem to have your active cell already in the lower pane, so SCROLLROW becomes active in the lower pane.

So I am going to try first selecting a cell in the lower pane, THEN activating SCROLLROW. I will let you know how I get on . . .
Here, it worked the same way regardless of which pane the selected/active cell was in.
Reply With Quote
  #5  
Old 10-30-2025, 09:35 AM
MartinGM MartinGM is offline SCROLLROW on a sheet with FREEZE PANES Windows 11 SCROLLROW on a sheet with FREEZE PANES Office 2021
Competent Performer
SCROLLROW on a sheet with FREEZE PANES
 
Join Date: May 2023
Location: England
Posts: 115
MartinGM is on a distinguished road
Default

I will play wth it a bit more and let you know how I get on
Reply With Quote
  #6  
Old 10-30-2025, 11:18 AM
MartinGM MartinGM is offline SCROLLROW on a sheet with FREEZE PANES Windows 11 SCROLLROW on a sheet with FREEZE PANES Office 2021
Competent Performer
SCROLLROW on a sheet with FREEZE PANES
 
Join Date: May 2023
Location: England
Posts: 115
MartinGM is on a distinguished road
Default

Well I have solved this, in the most weird way !

Trying everything I could think of, I found that if I ran my procedure twice, the SCROLLROW command worked !

So, learning from the above, this is code that works . . . running fom a button on the worksheet "Tree"

1 Activate the target worksheet where I want a particular cell to be selected and visible
2 Select the particluar cell to be made visible
3 Re-activate the "Tree" worksheet
4 Activate the target woksheet again
5 Run the SCROLLROW command

Steps 3 and 4 are the surprise. I have no idea why moving away from the target worksheet and back again causes SCROLLROW to work properly.

But it does, so I'll leave it at that.

Thanks for the support
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
SCROLLROW on a sheet with FREEZE PANES Display Navigation and Styles Panes in 365/2021 NitroPress Word 13 06-05-2023 07:26 AM
Moving columns Automatically with Frozen Panes vapulabis Excel Programming 2 04-24-2019 11:18 PM
SCROLLROW on a sheet with FREEZE PANES Return Freeze panes location trevorc Excel Programming 7 09-18-2018 02:49 PM
SCROLLROW on a sheet with FREEZE PANES Freeze top row and column in the same sheet. village Excel 3 11-26-2016 08:40 AM
How to Customize Outlook Panes Steve_B Outlook 0 07-08-2014 09:05 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft