Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tonette
 
Posts: n/a
Default Excel ActiveX Scrollbar - change from integer to decimal

I am using Excel VB control tool -- Scrollbar, and instead of having an
integer on the min and max, I want to use decimal number. It seems to me the
scrollbar only accepts whole number. Can I use decimal number in scrollbar? I
want to have a minimum of 0 and max of 3.0, and an increment of 0.1 as I
scroll the horizontal bar.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

If you're using a linkedcell for that scrollbar (say A1), maybe you can just use
another cell (B1) and use a formula in B1.

=a1/10

If you're not using a linkedcell and you're doing this in code, just divide the
value by 10.



Tonette wrote:

I am using Excel VB control tool -- Scrollbar, and instead of having an
integer on the min and max, I want to use decimal number. It seems to me the
scrollbar only accepts whole number. Can I use decimal number in scrollbar? I
want to have a minimum of 0 and max of 3.0, and an increment of 0.1 as I
scroll the horizontal bar.


--

Dave Peterson
  #3   Report Post  
Tonette
 
Posts: n/a
Default

You're great! Thank you so much for helping find an answer to my problem. By
placing =a1/10 on another cell works on the linkedcell for my scrollbar.
Regards.


"Dave Peterson" wrote:

If you're using a linkedcell for that scrollbar (say A1), maybe you can just use
another cell (B1) and use a formula in B1.

=a1/10

If you're not using a linkedcell and you're doing this in code, just divide the
value by 10.



Tonette wrote:

I am using Excel VB control tool -- Scrollbar, and instead of having an
integer on the min and max, I want to use decimal number. It seems to me the
scrollbar only accepts whole number. Can I use decimal number in scrollbar? I
want to have a minimum of 0 and max of 3.0, and an increment of 0.1 as I
scroll the horizontal bar.


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the color of all series in an excel chart in one go. Marielle Charts and Charting in Excel 2 May 3rd 23 08:45 PM
how to change range for dynamic chart in excel 2000 with button? ivan Charts and Charting in Excel 2 April 24th 05 05:10 AM
how do I change an excel template into a "workbook" joyce Excel Discussion (Misc queries) 5 April 14th 05 05:38 PM
Excel should have a quick and simple "change case" function like . NinaSvendsen Excel Worksheet Functions 1 January 28th 05 04:15 PM
How to change the color of all series in an excel chart in one go. Mz2 Charts and Charting in Excel 1 January 20th 05 02:07 AM


All times are GMT +1. The time now is 04:31 AM.

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

About Us

"It's about Microsoft Excel"