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

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
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,223,703
Messages
6,173,977
Members
452,540
Latest member
haasro02

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