Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default Scrollbar changing dollars

I have a scroll bar connected to a cell which changes the dollar value shown
in the cell. The problem is it only shows dollars and 00 cents. Is there a
way to change the properties of the bar to change by the penny, not just by
the dollar?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Scrollbar changing dollars

How about adding another helper cell that divides the linked cell by 100. (Then
hide the linked cell.)


Doug wrote:

I have a scroll bar connected to a cell which changes the dollar value shown
in the cell. The problem is it only shows dollars and 00 cents. Is there a
way to change the properties of the bar to change by the penny, not just by
the dollar?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default Scrollbar changing dollars

If you divide 1000 by 100 you still don't have any decimals. I created 2
scroll bars, 1 for dallars, 1 for cents. For cents I set the max at 99 and
divided that by 100. Now I add the 2 cells to get a total. This works but
it means using 2 scroll bars. I was hoping to do it with one scroll bar.

"Dave Peterson" wrote:

How about adding another helper cell that divides the linked cell by 100. (Then
hide the linked cell.)


Doug wrote:

I have a scroll bar connected to a cell which changes the dollar value shown
in the cell. The problem is it only shows dollars and 00 cents. Is there a
way to change the properties of the bar to change by the penny, not just by
the dollar?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Scrollbar changing dollars

Format the cell with the divided by formula to show 2 decimal places.

Say you want 0.00 to 10.00
Then set the limits for the scroll bar to 0 and 1000.
Then use =a1/100 and format that cell to 2 decimal places.
(a1 is the linked cell that will show between 0 and 1000).



Doug wrote:

If you divide 1000 by 100 you still don't have any decimals. I created 2
scroll bars, 1 for dallars, 1 for cents. For cents I set the max at 99 and
divided that by 100. Now I add the 2 cells to get a total. This works but
it means using 2 scroll bars. I was hoping to do it with one scroll bar.

"Dave Peterson" wrote:

How about adding another helper cell that divides the linked cell by 100. (Then
hide the linked cell.)


Doug wrote:

I have a scroll bar connected to a cell which changes the dollar value shown
in the cell. The problem is it only shows dollars and 00 cents. Is there a
way to change the properties of the bar to change by the penny, not just by
the dollar?


--

Dave Peterson


--

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
Live Currency Conversion US Dollars to Australian Dollars Louise01 Excel Discussion (Misc queries) 1 August 12th 09 11:45 PM
Dollars v. Dates annas Charts and Charting in Excel 2 March 20th 07 08:36 PM
scrollbar reslut makes another scrollbar to show Patrik Excel Discussion (Misc queries) 0 April 18th 05 03:11 PM
converting #dollars into word dollars? hotrodenford Excel Worksheet Functions 2 January 7th 05 06:29 AM
Changing a scrollbar value to 0 Nilrem[_3_] Excel Programming 1 November 14th 03 08:14 AM


All times are GMT +1. The time now is 03:59 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"