PC Review


Reply
Thread Tools Rate Thread

How can I put a "slider" onto a spreadsheet (as a way of enteringnumbers) ?

 
 
ship
Guest
Posts: n/a
 
      29th Sep 2008


Hi

Is there any easy way to put enter a number using a "slider" as an
interface? (i.e. Rather than the user entering exact numbers, they
should be able to drag the slider backwards & forwards...).

For example have a look at this site: www.wonga.com

We want to be able to send a protected spreadsheet to our suppliers
with a couple of sliders on it each of which controls the value of a
numeric variable. This way the user can control visually the input...
and, IN REAL TIME, as the user drags the slider they can see how much
money they would make from the deal!

Any thoughts?


Ship
Shiperton Henethe

 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      29th Sep 2008
Try this

View|Toolbars|Forms
Click 'Scroll Bar' and put one on your worksheet

Right click it, format control, and select the control tab
Set the minimum and maximum values and enter a 'Linked cell'
OK

When you protect the sheet you must leave the linked cell unlocked.

Mike


"ship" wrote:

>
>
> Hi
>
> Is there any easy way to put enter a number using a "slider" as an
> interface? (i.e. Rather than the user entering exact numbers, they
> should be able to drag the slider backwards & forwards...).
>
> For example have a look at this site: www.wonga.com
>
> We want to be able to send a protected spreadsheet to our suppliers
> with a couple of sliders on it each of which controls the value of a
> numeric variable. This way the user can control visually the input...
> and, IN REAL TIME, as the user drags the slider they can see how much
> money they would make from the deal!
>
> Any thoughts?
>
>
> Ship
> Shiperton Henethe
>
>

 
Reply With Quote
 
ShaneDevenshire
Guest
Posts: n/a
 
      29th Sep 2008
Hi,

this feature is built into 2007.

in 2003 you can use a couple of built in toolbars to increase or decrease in
increments that correspond to the choices in the Zoom dropdown - Choose View,
Toolbars, Customize and on the Commands tab, pick the category View and on
the right side find and drag the Zoom in and Zoom out controls to the toolbar.

Unless I missunderstand the previous suggestion won't work unless you add
code. I will supply code in the next email.
--
Thanks,
Shane Devenshire


"ship" wrote:

>
>
> Hi
>
> Is there any easy way to put enter a number using a "slider" as an
> interface? (i.e. Rather than the user entering exact numbers, they
> should be able to drag the slider backwards & forwards...).
>
> For example have a look at this site: www.wonga.com
>
> We want to be able to send a protected spreadsheet to our suppliers
> with a couple of sliders on it each of which controls the value of a
> numeric variable. This way the user can control visually the input...
> and, IN REAL TIME, as the user drags the slider they can see how much
> money they would make from the deal!
>
> Any thoughts?
>
>
> Ship
> Shiperton Henethe
>
>

 
Reply With Quote
 
ShaneDevenshire
Guest
Posts: n/a
 
      29th Sep 2008
Hi again,

To add code to the scrollbar (I will use a Control Toolbox scrollbar) -
1. Choose View, Toolbar, Control Toolbox
2. Click the Scrollbar tool and then click once in the spreadsheet.
3. Right click the scrollbar and choose Properties
4. In the Properties box set the LargeChange to 20, the LinkedCell to H1,
Max to 400, Min to 10, and SmallChange to 5, and Value to 100. The close the
Properties sheet.
5. Double-click the Scrollbar which will take you to the VBA area inside a
block of code, modify that code to read:

Private Sub ScrollBar1_Change()
ActiveWindow.Zoom = [h1]
End Sub

6. Close the VBA editor window and click the triangle toolbar button that
has been floating around or the one on the Control Toolbox toolbar (the Exit
Design Mode) button.

--
Thanks,
Shane Devenshire


"ship" wrote:

>
>
> Hi
>
> Is there any easy way to put enter a number using a "slider" as an
> interface? (i.e. Rather than the user entering exact numbers, they
> should be able to drag the slider backwards & forwards...).
>
> For example have a look at this site: www.wonga.com
>
> We want to be able to send a protected spreadsheet to our suppliers
> with a couple of sliders on it each of which controls the value of a
> numeric variable. This way the user can control visually the input...
> and, IN REAL TIME, as the user drags the slider they can see how much
> money they would make from the deal!
>
> Any thoughts?
>
>
> Ship
> Shiperton Henethe
>
>

 
Reply With Quote
 
ship
Guest
Posts: n/a
 
      30th Sep 2008
Btw, I am using msExcel 2003 (SP3)


Hi

Thanks Shane - however...
Sorry but the Control Toolbox does not have a button called Scrollbar.
I did try More Controls and there is something called "Microsoft Forms
2.0 ScrollBar" - is that the one that you meant?

Cheers


Ship





On Sep 29, 8:30*pm, ShaneDevenshire
<ShaneDevensh...@discussions.microsoft.com> wrote:
> Hi again,
>
> To add code to the scrollbar (I will use a Control Toolbox scrollbar) -
> 1. Choose View, Toolbar, Control Toolbox
> 2. Click the Scrollbar tool and then click once in the spreadsheet.
> 3. Right click the scrollbar and choose Properties
> 4. In the Properties box set the LargeChange to 20, the LinkedCell to H1,
> Max to 400, Min to 10, and SmallChange to 5, and Value to 100. *The close the
> Properties sheet.
> 5. Double-click the Scrollbar which will take you to the VBA area inside a
> block of code, modify that code to read:
>
> Private Sub ScrollBar1_Change()
> * * ActiveWindow.Zoom = [h1]
> End Sub
>
> 6. Close the VBA editor window and click the triangle toolbar button that
> has been floating around or the one on the Control Toolbox toolbar (the Exit
> Design Mode) button.
>
> --
> Thanks,
> Shane Devenshire
>
>
>
> "ship" wrote:
>
> > Hi

>
> > Is there any easy way to put enter a number using a "slider" as an
> > interface? (i.e. Rather than the user entering exact numbers, they
> > should be able to drag the slider backwards & forwards...).

>
> > For example have a look at this site:www.wonga.com

>
> > We want to be able to send a protected spreadsheet to our suppliers
> > with a couple of sliders on it each of which controls the value of a
> > numeric variable. This way the user can control visually the input...
> > and, IN REAL TIME, as the user drags the slider they can see how much
> > money they would make from the deal!

>
> > Any thoughts?

>
> > Ship
> >ShipertonHenethe- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Vista Speech "Accuracy Slider"? andy t Windows Vista General Discussion 9 14th Nov 2009 03:56 PM
Re: Vista Speech "Accuracy Slider"? Windows Vista General Discussion 3 27th Aug 2009 11:53 AM
Movable "slider" to adjust a range with the mouse? rwhtx Microsoft Excel Misc 4 7th Jan 2009 01:33 PM
How can I put a "slider" onto a spreadsheet (as a way of enteringnumbers) ? ship Microsoft Excel Discussion 4 30th Sep 2008 12:02 PM
Disable "beep" on volume slider Jack Wright Windows XP Customization 1 24th Nov 2003 08:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:10 PM.