enable cells in only one column and disable other colums in a continoud form

sanal

Registered User.
Local time
Today, 12:05
Joined
Mar 10, 2018
Messages
11
Is there any way to enable the cells in only one column and to disable all other cells in a continous form , by a command button.
 
Hi. You might try something like:
Code:
Me.ColumnName.Enabled = False
 
select all the textbox/combos and set it's Enable property to No.
select the texbox you want to Enable.
on it's GotFocus() and LostFocus() Event:
Code:
Private Sub textboxName_GotFocus()
Me.textboxName.Enabled = True
End Sub

Private Sub textboxName_LostFocus()
Me.textboxName.Enabled = False
End Sub
 

Users who are viewing this thread

Back
Top Bottom