Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

control buttons

ResolvedVersion 2003

Simon has attended:
Excel VBA Intro Intermediate course
Excel VBA Advanced course

Control buttons

How do you get a spinner button to scroll through a related drop list in the right direction. (The up arrow on the spinner scrolls down the drop list)

RE: Control buttons

Hi Simon. Are you trying to use one control to alter the behaviour of another? In the case of a drop down list box, the trick would be to capture the spinner button click action in a variable and use that value to trigger an alteration in the value of the listbox.text value. So, for example, a decrease in the spinner control value would cause the text in the listbox control to change to one less index value of the text value it currently is, thereby accurately scrolling through the values in the listbox. Knotty, but not impossible!

Hope this helps,

Anthony

RE: Control buttons

Thanks for this. Since winging this question at the Intro/Intermediate course I have established that the buttons in question are form buttons rather than the more versatile control buttons. It

RE: Control buttons

I hope it works out! Let me know how it goes, Simon.

Anthony

Mon 27 Apr 2009: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

##### displaying in Excel

When you get a series of hash symbols (####) appearing in some of your cells in a spreadsheet, this can make you think that you've make some kind of mistake.

This is a common misconception - what this actually means is that the cell is not wide enough to fully display the content of the cell.

All you need to do to see what is actually in the cell is to widen the column that the cell is in.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.