+ Reply to Thread
Results 1 to 4 of 4

Spin button suddenly stopped working

  1. #1
    Forum Contributor
    Join Date
    08-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    103

    Spin button suddenly stopped working

    Strange behavior:

    Please Login or Register  to view this content.
    When this runs, I get a run-time 380; could not set the value property. If I place a msgbox to give me the value of "rven", it tells me 29. If I manually set "SpinButton1.Value = 29", I get no error. This code worked just fine when I tested it earlier today and now suddenly it's got issues. Any ideas?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Spin button suddenly stopped working

    Hi,

    Difficult to say without seeing the request in context but try changing the .value property to .listindex
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    08-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    103

    Re: Spin button suddenly stopped working

    Compile error; method or data member not found.

    Thanks for trying.

  4. #4
    Forum Contributor
    Join Date
    08-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    103

    Re: Spin button suddenly stopped working

    No fluff code version with explanations:

    Please Login or Register  to view this content.




    EDIT: Ahh, the little things... I had set a listbox1.listindex to spinbutton1.value on form initialize, so when the value of the spinner was over the listbox it was tied to, the listbox was actually causing the error to the spinner which was causing the error in that section of the code. Looks like problem solved.
    Last edited by Taemex; 12-19-2014 at 07:52 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Vlookup function suddenly stopped working!!!!!
    By danmack in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2013, 10:39 AM
  2. Replies: 3
    Last Post: 05-03-2013, 02:05 PM
  3. [SOLVED] Trace Depenents suddenly stopped working for some cells.
    By hlep in forum Excel General
    Replies: 1
    Last Post: 03-27-2012, 11:28 PM
  4. Code suddenly stopped working
    By bibleguy125 in forum Excel General
    Replies: 1
    Last Post: 02-15-2012, 01:00 PM
  5. Beforeclose sub suddenly stopped working
    By cuewoz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-04-2010, 12:29 PM

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