Lock drop down menus

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

I have a drop down menu, Is there a way that once i have selected the
drop down recored it want . that it will Lock it from being changed
again for that recored


Thanks

Simon
 
Simon,

Do you mean a menu item or a drop-down list (combo box)?

If you mean a menu item, then in the procedure that the menu item calls:
CommandBars("CommandBarName").Controls("MenuItemName").Enabled = False

If you mean a combo box:
Private Sub cboMyCombo_AfterUpdate()
Me.cboMyCombo.Locked = True
End Sub

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top