Form Control Scroll Bar jumping to max value

Nichole09

Board Regular
Joined
Aug 27, 2016
Messages
132
I am having an issue with my form control scroll bar. It works just as intended unless a user is entering data in one of the cells. If a user enters data in cells R77:V94 and does not hit enter before hitting the scroll bar, the scroll bar jumps to the max value. Why is this? I can certainly inform users to hit enter each time they are finished entering data before scrolling, however I would prefer a solution to this problem. Is there a way to add a macro to the scroll bar that will hit enter if the activecell is within this range before it actually scrolls? Thank you!!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I cannot reproduce this. I have set up a Forms scrollbar range 0-5 and when I type into a cell, and immediately click the scrollbar before hitting Enter, it increments by 1.

What is the range of values for your scroll bar? What is the increment? Is the user hitting the middle part of the scrollbar or one of the arrows at the ends?

There is no way for a macro to do what you describe because by the time the macro is called, the scrollbar has already changed its value. But there may be a design change to your overall problem that will solve this for you.
 
Upvote 0

Forum statistics

Threads
1,215,079
Messages
6,122,998
Members
449,092
Latest member
masterms

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
Back
Top