Scroll worksheet

Keith.Jackson

Board Regular
Joined
Mar 31, 2005
Messages
115
I would like to have my active sheet scrollbar right to a certain place when I change the value in a userform textbox.
I'm trying to make a certain place on the sheet visible from underneath the user form. Is this possible?

Thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Keith.Jackson

Board Regular
Joined
Mar 31, 2005
Messages
115
That doesn't scroll the page. It selects the cell whereever it may be but does not make that cell visible even if it is off the page.
 

agihcam

Well-known Member
Joined
Jan 16, 2006
Messages
1,624
seems like you have set the screenupdating to false

try;
application.screenupdating=true
range("ba20").select
application.screenupdating=false
 

SydneyGeek

MrExcel MVP
Joined
Aug 5, 2003
Messages
12,251
Something like this...
Code:
Sub ScrollLeft()
    Range("AZ45").Select
    ActiveWindow.ScrollRow = Selection.Row
    ActiveWindow.ScrollColumn = Selection.Column
End Sub
Denis
 

Forum statistics

Threads
1,136,990
Messages
5,678,979
Members
419,796
Latest member
doctorgresham

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top