+ Reply to Thread
Results 1 to 13 of 13

Horizontal Bars Scroll-Bars!

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Horizontal Bars Scroll-Bars!

    Dear Forum,

    I am trying to derive the EMI for a Loan Amount and also chart a PIE graph for the same..

    Instead of Manually feeding the values such as :

    Variable 1 : Loan Amount : Min : Rs 50,000/- Max :Rs 5000000/-
    Each Spin (1 Unit) -Rs 25000/-

    Variable 2 : Interest Rate : Min : 5% Max : 30%
    Each Spin (1 Unit) -0.25%

    Variable 3 : Tenure/Duration : Min : 6 months Max : 30 years
    Each Spin (1 Unit) - 6 months

    I want to have a Scroll-Bar where the values can change Automatically but am not aware of using the same...

    Can someone please help me with a small attachment with the above variables attached to it..The values drawn should be displayed as well above the Scroll-Bar and maybe can make the Min and Max more dynamic by storing it somewhere in the Sheet..

    I am looking for Non-VBA solution to do the same..

    Thanks
    e4excel
    Last edited by e4excel; 03-07-2009 at 03:14 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Some help on Spin controls !

    maybe something like this
    alternative in h7 could be
    =(G7*6-MOD(G7*6,12))/12&"Y"&" "&MOD(G7*6,12)&"M"
    Attached Files Attached Files
    Last edited by martindwilson; 03-06-2009 at 11:06 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Some help on Spin controls !

    Is there any help file where I can refer to for the Spin-Controls or Sliders?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Some help on Spin controls !

    there isn't that much to it! right click it format control and there you go thats your options.
    Last edited by martindwilson; 03-06-2009 at 11:18 AM.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Some help on Spin controls !

    Cheers
    Andy
    www.andypope.info

  6. #6
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Some help on Scroll Bars !

    Hi Martin!

    Twice in a day there was a delayed response from my end..My sincere apologies for the same as my new post was posted after your solution and I was completely unaware of your post maybe due to some slag..

    Anyways, thanks so much for your help but I made a slight mistake in explaining about the appropriate tool..

    I required help on a Scroll-Bar which is a horizontal slider..am genuinely sorry for the trouble Martin..

    Can you please help on the same as I did not get the control option for Scroll-Bar...and also can you make it Dynamic?

    Guys I have rectified my mistake by changing the Title to Scroll-BAr from Spin Controls I beg your pardon for the same for any inconvenience caused...

    Warm Regards
    e4excel
    Last edited by e4excel; 03-06-2009 at 11:32 AM. Reason: Incorrect Name mentioned

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Some help on Scroll-Bars! ( Horizontal Bars)

    there's little difference in the two except scroll bars have a page change increment that controls how much it scrolls if you click between the end slider controls. you cant change these dynamically. for that you'd need one from the controls tool box and appropriate code
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Some help on Scroll-Bars! ( Horizontal Bars)

    Thanks Martin,

    You know what, when I tried to pick the sama object from the LEFT hand side of my task bar, it did not give me option ofr Controls..

    Why is that? In your file it has five Options alongwith Controls whereas I have only got four?

    for that you'd need one from the controls tool box and appropriate code
    Can you please explain from where do I fetch it from?

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Some help on Scroll-Bars! ( Horizontal Bars)

    whick scroll bar are you using? i used the forms tool bar one.not the controls
    one.
    Attached Images Attached Images

  10. #10
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Some help on Scroll-Bars! ( Horizontal Bars)

    Thanks a lot Martin, I never knew this , no wonder it was not working I was referring to a wrong control...

    Thanks a lot brother!
    Last edited by e4excel; 03-07-2009 at 09:49 AM. Reason: Spelling Mistakes

  11. #11
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Horizontal Bars Scroll-Bars!

    Hey Martin,

    I managed to get the desired output finally after burning midnight oil..
    However, Im still stuck at a very small issue, hope you can help on the same..

    The Scroll-Bar for Tenure works absolutely fine but for display I need to break the months into Years and MOnths...

    Ex:
    Sr.No ------------ Scroll-Bar Value ------- Tenure
    1 ------------ 6 ------- Tenure : 0 years 6 months
    2 ------------ 7 ------- Tenure : 0 years 7 months
    3 ------------ 12 ------- Tenure : 1 year 0 months
    4 ------------ 14 ------- Tenure : 1 year 2 months
    5 ------------ 29 ------- Tenure : 2 years 5 months

  12. #12
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Horizontal Bars Scroll-Bars!

    isnt that what the horizontal scroll bar on the posted example does? you did say six month increments!
    but to go up in months from 6m to 30 years with linked cell as h18
    then in another cell
    =(H18-MOD(H18,12))/12&" Y"&" "&MOD(H18,12)&" M"
    control should be min 6 ,max 360 ,increment 1, page change to whatever increment seems best
    Last edited by martindwilson; 03-07-2009 at 10:47 AM.

  13. #13
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Horizontal Bars Scroll-Bars!

    Quote Originally Posted by martindwilson View Post
    isnt that what the horizontal scroll bar on the posted example does? you did say six month increments!
    but to go up in months from 6m to 30 years with linked cell as h18
    then in another cell
    =(H18-MOD(H18,12))/12&" Y"&" "&MOD(H18,12)&" M"
    control should be min 6 ,max 360 ,increment 1, page change to whatever increment seems best
    Yippy that worked..! Great and thanks a lot..Martin....
    Yes I had the same control set to min 6 ,max 360 ,increment 1, page change to whatever increment seems best

    God bless you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1