+ Reply to Thread
Results 1 to 7 of 7

Spin button only changes one when the button is pressed

Hybrid View

  1. #1
    Registered User
    Join Date
    11-25-2018
    Location
    Stockholm
    MS-Off Ver
    Windows 10
    Posts
    3

    Spin button only changes one when the button is pressed

    How do I achive that a spin button only changes one when the button is pressed? i.e. the button shall be released and pressed again in order to be updated.
    As it is now the value is keeps changing when the button is pressed.
    Last edited by AliGW; 06-21-2020 at 05:46 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,132

    Re: Spin button

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As this is your first post, I have done it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2024
    Posts
    982

    Re: Spin button only changes one when the button is pressed

    Hi torgny,
    Are you using the 'Form Control' spin button (as opposed to the ActiveX). If so, in the Developer tab in the top ribbon, select ' Design Mode', then right-click on the spin button and select the 'Format Control' option. In the new dialog box, select 'Control'.
    Here you can change the behaviour of the button, including the incremental change.
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  4. #4
    Registered User
    Join Date
    11-25-2018
    Location
    Stockholm
    MS-Off Ver
    Windows 10
    Posts
    3

    Re: Spin button only changes one when the button is pressed

    Im using an ActiveX button goes from -100 to 100 increment 1.
    Thats fine but my problem is that when i press the button i have to release it very quickly if not it keeps updating.
    I want it to just update one time each time i klick on it regardless of how long i press the button.

  5. #5
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2024
    Posts
    982

    Re: Spin button only changes one when the button is pressed

    For ActiveX, make sure you are in Design Mode, right-click on the Spin Button and select Properties.
    There is a setting for 'Delay'. Change it to 99999.

  6. #6
    Registered User
    Join Date
    11-25-2018
    Location
    Stockholm
    MS-Off Ver
    Windows 10
    Posts
    3

    Re: Spin button only changes one when the button is pressed

    Thank you just what i wanted to achieve.

  7. #7
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2024
    Posts
    982

    Re: Spin button only changes one when the button is pressed

    You are welcome.
    If this answered your question, please take the time to mark this thread as SOLVED. You can do this at the top under Thread Tools.

+ 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] Have spin button call macro repeatedly when mouse button is held down
    By czlowiek121 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-10-2019, 12:44 PM
  2. ActiveX Control Spin Button Copy Button and Change Cell reference?
    By chrstphrbllngs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2016, 04:01 PM
  3. [SOLVED] Click a Spin Button via another button?
    By NewYears1978 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2015, 04:37 AM
  4. [SOLVED] Help with Spin Button. Set Spin button starting value based on a text box value
    By etuckram in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-18-2014, 10:05 AM
  5. Excel 2007 : Spin button
    By leeroy2612 in forum Excel General
    Replies: 4
    Last Post: 11-27-2011, 11:28 AM
  6. Replies: 2
    Last Post: 03-12-2008, 06:52 PM
  7. Spin Button:spin cells A7
    By ice in forum Excel General
    Replies: 1
    Last Post: 03-16-2007, 02:23 PM

Tags for this Thread

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