VBA COmmand Button Code not working

dimanche 15 mars 2015

Hi all, I have a command button that when pressed needs to check the value in a field and then make a text box visible if the field has an appropriate value.



here is the code - the VBA editor doesn't throw any errors when I click the button but the text box doesn't display. if i misspell the field value in VBA then it does thrown an error so the code should work and its very simple.



If Me.weekcommencing.Value = "monday" Then Me.sixteenth.Visible = True



Any ideas!?



Thanks



Rhys.

VBA COmmand Button Code not working

0 commentaires:

Enregistrer un commentaire

Labels