123Maximus
New Member
- Joined
- Dec 31, 2016
- Messages
- 13
Hello Everybody!
I have a couple of 'buttons' to send a certain value to column A with.
Now I would like to change the colour and disable the button for let's say 0,5 seconds every time someone press it.
The reason is that it should be a confirmation and to prevent users from pressing it too many times in a row.
Sub Makro3()
' Sends the text that is on the button ????
'Find next available row in column A
r = Cells(Rows.Count, "A").End(xlUp).Row + 1
Range("A" & r) = ActiveSheet.Shapes(Application.Caller).TextFrame.Characters.Text
Range("A" & r).Select
End Sub
Thanks in advance!
I have a couple of 'buttons' to send a certain value to column A with.
Now I would like to change the colour and disable the button for let's say 0,5 seconds every time someone press it.
The reason is that it should be a confirmation and to prevent users from pressing it too many times in a row.
Sub Makro3()
' Sends the text that is on the button ????
'Find next available row in column A
r = Cells(Rows.Count, "A").End(xlUp).Row + 1
Range("A" & r) = ActiveSheet.Shapes(Application.Caller).TextFrame.Characters.Text
Range("A" & r).Select
End Sub
Thanks in advance!