I have an excel sheet that I am attempting to have a scroll bar show only 10 of the possible hundreds of items on a list. I created a scroll bar, had it reference a field, for calculations. Each field that the scroll bar interacts with is referenced off the field as well. So I can’t imagine why it’s not working.
What is happening is that when I scroll the bar up and down the text to the right of it doesn’t move. I’d like to know if it is my computer, or not. If it is my computer what would I need to do to make it work? I use VBA and I may of accidently disabled something to allow the scrolling to not work, but I don’t know.
Can someone help please?
Here is the worksheet in question.
https://dl.dropbox.com/u/3327208/Excel/scrollnotworking.xlsx
Your calculation is set to Manual.
Do this. Under the
Formulas Tabclick onCalculation Optionsand then onAutomaticNow try it
FOLLOWUP
There are mainly two reasons why the calculation switches to manual via VBA
1) You set it
MANUALand then forget to set it back. For example2) You set it to
MANUALin the beginning and set itAUTOMATICin the end but it still remainsMANUAL. This primarily happens because you didn’t include properError Handlingbecause of which the code exits prematurely from the procedure. See this exampleThe wrong way
The preferred way
Note: If you want, You can also store the current state of
Calculationand set it back at the end of the code if you want to.