Excel VBA ActiveX Series #5 SpinButton - Incrementing and decrementing a cells number, Move controls

Поділитися
Вставка
  • Опубліковано 9 бер 2013
  • 📊 Free Workbooks: www.excelvbaisfun.com/links?u...
    🥷Join Excel Ninja Pro: www.excelvbaisfun.com/ninjapr... Months FREE On Annual Plan Auto Applied)
    🥷Excel Ninjas FB Group: www.excelvbaisfun.com/xlninjas (Free downloads, Trainings, Live Q&A and more)
    Spin buttons have either a Vertical orientation or a horizontal orientation. One spin button contains two arrows, either up/down or left/right. Using the SpinUp/SpinDown events in our example, we can control the value of our cell, variable or any applicable number. Give this one a try!
    Fantastic Developer Tools:
    🔒 Transform Any Excel File Into A Locked EXE: www.excelvbaisfun.com/secure-... (25% off with code ‘25OFF’)
    🟡 Create Custom Installers: www.excelvbaisfun.com/custom-...
    👋 Business Inquiries, Consulting, Comments, etc: www.excelvbaisfun.com/contact/

КОМЕНТАРІ • 39

  • @bloodwolf2609
    @bloodwolf2609 2 роки тому +3

    The fact that this is the most useful tutorial for this function that I could find and it’s 8 years old is amazing.

  • @darkspace3316
    @darkspace3316 4 роки тому +3

    Awesome! Exactly what I wanted. Couldn't find it anywhere!

  • @paulolopes5714
    @paulolopes5714 4 роки тому

    I have been searching for a way to add a count button to an excel spreadsheet for a long time, and finally I have found... your video ! THANKS A LOT !

  • @ExcelVbaIsFun
    @ExcelVbaIsFun  10 років тому +2

    Merry Christmas everyone. I hope God blesses you richly this upcoming year. Remember, you ARE a success!! Believe it, be it! Blessings my friends!! Dan

  • @bpurch4358
    @bpurch4358 5 років тому

    Only a simple video but that's all i needed. Really really good as I could have gone own a rabbit hole working this out. Cheers!

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  5 років тому

      So glad it helped, Ben. Thanks for the comment!

  • @adriano.santana
    @adriano.santana 6 років тому +2

    Thanks a lot, man. Solved the doubts I was having in a matter of minutes.

  • @chunyuling
    @chunyuling 5 років тому

    really really good!!!Thank you!

  • @esbi1124
    @esbi1124 4 роки тому

    Hello. Short, easy and clear. Thanks a lot.

  • @ExcelVbaIsFun
    @ExcelVbaIsFun  11 років тому

    Hmmm, great stuff, sir! Thanks for the comments!

    • @ilyasikm
      @ilyasikm 4 роки тому

      Which version of this excel?

  • @pradeepvishwakarma9831
    @pradeepvishwakarma9831 3 роки тому

    hi... thanks.. its very helpful

  • @casterMobile
    @casterMobile Рік тому

    How do you transfer FROM a cell TO another cell with each click?

  • @samkwamedaniel895
    @samkwamedaniel895 4 роки тому

    Thanks very much for tutorials, I like to know if there is a way to make just a cell behave as a normal calculator.
    i.e this cell should be capable of summing figures that appears in another cell, while keeping last cumulative figure visible.
    This other cell will be the key-in cell or active cell.
    Example:
    Cell 1: =2*5, Answer appears in Cell 2,
    Cell 1: =3*6.8, Answer is added to the previous value resulting from (2*5) and still appears in cell 2.

  • @Don0mer
    @Don0mer 9 років тому

    Hello, how do u make limits at that macro :S? max 2 and min 1 ? :S

  • @hetleerhuis-destadskerk9847
    @hetleerhuis-destadskerk9847 5 років тому

    Someone got the - first spin button function - for me in an excel sheet to download? I can't use the developer on my computer. I need it asap. Thank you!

  • @anhnhatnguyet4628
    @anhnhatnguyet4628 Рік тому

    When click one random cell with data in cell is number, auto appear spin button to add or subtract active cell 1 unit, use vba, can do it ?

  • @eduardoreinaux5150
    @eduardoreinaux5150 6 років тому

    Hello! Quick question - Each time I click on the button, it seems to lose resolution... up to the point where I can't see the little black arrows within the spin button. Any idea why that is? Thanks!

  • @VTOLmad
    @VTOLmad 8 років тому

    Tried the basic increment a cell by 1, saved in macro enabled but didnt work. Checked typing multiple times, nada. Closed workbook & reopened, that was worse as everything was greyed out in the tool bar, Im stuck, any help gratefully accepted :)

  • @andreaaccetta5697
    @andreaaccetta5697 6 років тому

    Thank you a lot for this tutorial!
    Do you know if this buttons could change the value of the selected cell instead of a fixed cell?
    For example I have a stock list with 80 items and it would be great to have only one button to incr./decr. instead of one for every row.

    • @piski12
      @piski12 5 років тому

      I am looking for the same thing. Did you figoure that out? Thanks

    • @ahamadalthaf279
      @ahamadalthaf279 4 роки тому

      did you figure out a solution for this ?
      Would be great if you can share.

  • @professorlanguagepartners3112
    @professorlanguagepartners3112 3 роки тому

    I'm a rookie. Silly question. Wouldn't blocking the cell prevent an error by not allowing the user to type anything in cell and force them to only use spin buttons ?

  • @dad135
    @dad135 2 роки тому

    After adding the range code, I click on the button but it still appears the VBA code., not display number? What should I do?

  • @waynexw.
    @waynexw. 3 роки тому

    If I want to link the cell to any mouse click cell, I do not know how to do

  • @AaAbid-sp5rd
    @AaAbid-sp5rd 2 роки тому

    Hi Dear, Thanks for the video. I have a quarry. If I want to make .6=1, it increases like .1,.2,.3,.4,.5 when it's .6 it makes 1.0. like 1.1,1.2,.................1.5 and next Stape is 2 in one cell? how can I make it?

  • @lholhofox
    @lholhofox 5 років тому

    YOU ARE A F$#%@ GENIUS!!! THANK YOU!

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  5 років тому

      Wow! Thanks, Leonardo, I'm sure you are too, my friend! Happy coding!

    • @lholhofox
      @lholhofox 5 років тому

      Cheers!

  • @sdoblack365
    @sdoblack365 3 роки тому

    Why my Excel show me text comile error:
    Invalid use of property

  • @sridharkrishnappanavanerth3388
    @sridharkrishnappanavanerth3388 5 років тому +1

    sir i am trying to do a inventory system using user forms, i have a text box for invoice number. we use our standard practice format as "SN-2019-0001" and then increments by 1 ie it will be "SN-2019-0002" etc. how can i do this using excel vba. please can you make a video with a example.

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  5 років тому

      Sure! Try this video please: ua-cam.com/video/vGguMYmAd_c/v-deo.html
      Thanks
      Dan

  • @khaledgaber5312
    @khaledgaber5312 8 місяців тому

    It's not working do you have any advice?