control buttons
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Control buttons

Control buttons

resolvedResolved · Low Priority · Version 2003

replyReply Thu 12 Mar 2009, 16:39Delegate Simon said...

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)

For upcoming training course dates see: Pricing & availability

replyReply Mon 20 Apr 2009, 10:38Trainer Anthony said...

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

replyReply Mon 20 Apr 2009, 13:25Delegate Simon said...

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

replyReply Mon 20 Apr 2009, 14:42Trainer Anthony said...

RE: Control buttons

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

Anthony

Mon 27 Apr 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
excel training onsite and other Microsoft training courses.

Excel tip:

Editing a formula quickly

If you want to edit a fomrula or text quickly witin a cell instead of the formula bar, you can click either double click in the cell or press the F2 key

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard