+ Reply to Thread
Results 1 to 7 of 7

Assigning Settings to a Scrollbar (Form Control)

  1. #1
    Registered User
    Join Date
    04-08-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    76

    Assigning Settings to a Scrollbar (Form Control)

    I am trying to assign certain max, min, incremental settings, and cell link to a scrollbar I have put on a worksheet. As this scrollbar is clicked, it should step through time at certain steps, and the cells on that same work sheet, as well as a chart, will be updated with each click of the scrollbar. I tried the below code but got an error every time I clicked the scrollbar saying "Object variable or With block variable not set":
    Please Login or Register  to view this content.
    I have also tried this, but got absolutely nothing:
    Please Login or Register  to view this content.
    Any suggestions on getting the scrollbar settings assigned? Ideally, I would like to be able to have it start at a value in cell A2 and each increment would be the value of the next cell down (A3, A4, A5, etc.) until the max is reached (A?? - amount of data in column A varies). Thanks for your help!

  2. #2
    Registered User
    Join Date
    04-08-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    76

    Re: Assigning Settings to a Scrollbar (Form Control)

    Here is the sample spreadsheet, if it helps. Thanks
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-08-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    76

    Re: Assigning Settings to a Scrollbar (Form Control)

    Since I am in a time crunch, I went ahead and cross-posted to another forum. Here is the link:
    http://www.mrexcel.com/forum/showthread.php?t=632123

  4. #4
    Registered User
    Join Date
    04-08-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    76

    Re: Assigning Settings to a Scrollbar (Form Control)

    by the way, even though I cross-posted to the other forum, I still haven't gotten my issue resolved. so, if anyone would be willing to help me with this, I'd greatly appreciate it!

    updated code (in module 1):
    Please Login or Register  to view this content.
    when i check my properties after the code is assigned to the scrollbar, my min value and both increment values go to zero, but my max value is correct. Any ideas? Since i've had such difficulty, I tried an ActiveX scrollbar, but ran into the exact same problems. Here is my code for it in the Sheet3 module:
    Please Login or Register  to view this content.
    Thanks in advance for any help!
    Last edited by JP777; 04-29-2012 at 08:43 AM.

  5. #5
    Registered User
    Join Date
    04-08-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    76

    Re: Assigning Settings to a Scrollbar (Form Control)

    $10 via PayPal to the person who can help me figure out what's wrong with this issue. just private message me the email address on your PayPal account.....in a time crunch, so willing to pay this. The other thread I have posted about scrollbars is worth another $10, since the solution to it would probably cover this solution as well......everyone can use an extra $20, right??

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Assigning Settings to a Scrollbar (Form Control)

    you can only use integer values
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  7. #7
    Registered User
    Join Date
    04-08-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    76

    Re: Assigning Settings to a Scrollbar (Form Control)

    thanks for the feedback, JosephP. Please check your inbox, as well as the other thread you helped me with today. thanks

+ 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