A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Discussion (Misc queries)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How do I setup a spin button in excel



 
 
Thread Tools Display Modes
  #1  
Old November 26th 04, 03:33 PM
Andy K
external usenet poster
 
Posts: n/a
Default How do I setup a spin button in excel

Gord

thanks for your info I have managed to insert the Spinner button however I
have a list of information in the spread sheet I would like to link to the
button is this possible and how do i go about it.

Thanks for your help

"Gord Dibben" wrote:

> Right-click on a Toolbar and select Forms Toolbar.
>
> Click on the "Spinner" button.
>
> Draw a button on your worksheet.
>
> Right-click on the button and "Format Control"
>
> Set your parameters and define a cell that the spinner will affect.
>
> Gord Dibben Excel MVP
>
> On Fri, 19 Nov 2004 06:11:01 -0800, Andy K <Andy >
> wrote:
>
> >How do I setup a spin button

>
>

Ads
  #2  
Old November 26th 04, 09:08 PM
Gord Dibben
external usenet poster
 
Posts: n/a
Default

Andy

Unsure what your needs are, but if you use a spin button from the Control
Toolbox you can have code behind the button.

Private Sub SpinButton1_SpinDown()
For Each cell In ActiveSheet.Range("A9:A18")
cell.Value = cell.Value - 2
Next
End Sub


Private Sub SpinButton1_SpinUp()
For Each cell In ActiveSheet.Range("A9:A18")
cell.Value = cell.Value + 2
Next
End Sub

For more options, see VBA Help on "spinbutton"

Gord Dibben Excel MVP

On Fri, 26 Nov 2004 07:33:04 -0800, Andy K >
wrote:

>Gord
>
>thanks for your info I have managed to insert the Spinner button however I
>have a list of information in the spread sheet I would like to link to the
>button is this possible and how do i go about it.
>
>Thanks for your help
>
>"Gord Dibben" wrote:
>
>> Right-click on a Toolbar and select Forms Toolbar.
>>
>> Click on the "Spinner" button.
>>
>> Draw a button on your worksheet.
>>
>> Right-click on the button and "Format Control"
>>
>> Set your parameters and define a cell that the spinner will affect.
>>
>> Gord Dibben Excel MVP
>>
>> On Fri, 19 Nov 2004 06:11:01 -0800, Andy K <Andy >
>> wrote:
>>
>> >How do I setup a spin button

>>
>>


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel converts Mapped drive to UNC - How to stop? Fred Links and Linking in Excel 1 January 20th 05 12:24 AM
Help with Charting My Data -- DavidM Charts and Charting in Excel 7 January 7th 05 01:08 PM
Creating GIFs in Excel 2003 for use in Dreamweaver Lou Crandall Charts and Charting in Excel 2 January 2nd 05 07:58 PM
Charting Data from Excel DavidM Charts and Charting in Excel 4 December 30th 04 02:31 PM
histogram setup in excel pfcaines Charts and Charting in Excel 2 December 6th 04 08:11 PM


All times are GMT +1. The time now is 12:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2004-2013 ExcelBanter.
The comments are property of their posters.