VBA: Disable Button after Clicking

=========
QUESTION
———
I want to disable a button after the user has clicked it in my Form – is this possible?

 

=========
ANSWER
———
Very simple – see EXAMPLES

 

=========
EXAMPLES
———
clickedButton.Enabled = false

 

=========
APPLIES TO / KEY WORDS
———
Microsoft Access
VBA
Button
Command Button
Enable
Disable

 

=========
REF
———
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button.click.aspx

 


http://www.anysitesupport.com/vba-disable-button-after-clicking/
http://anySiteHosting.com

By | 2017-12-01T23:47:35+00:00 November 2nd, 2011|Computers, Documentation, Microsoft, VBA|0 Comments