Trying to put a counter into a form

Diving_Dan

Board Regular
Joined
Oct 20, 2019
Messages
161
Hi all,

I'm trying to create a form to pop up when I click on a specific cell which i'm able to count within. I can code for the form to pop up when i click on a certain cell but it is what to do within the form and coding that.

I would like there to be a box with numbers in. Next to that i would like there to be an up/down arrow button and when you click either up/down the number in the text box increases/decreases.

I hope this makes sense.

Thanks in advance

Dan
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
This is what i would like it to look like
54CE828D-980A-4D2F-A6AA-5AFDB04CE7BA_zps5ldcdkmy.jpeg
slideshow
 
Upvote 0
Hey there,
what you're looking for is probably this:
VBA Code:
Private Sub SpinButton1_change()
TextBox1.Value = SpinButton1.Value
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,744
Messages
6,180,696
Members
452,994
Latest member
Janick

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top