I want to change the caption of a label in a form by using a variable. During module execution, I have a variable called strLabel that is set to the label name. I then have module code like the following:
Application.Forms("frmTools"
!(strLabel).Caption = "Hammer"
But this syntax is not correct (it turns red).
What should the syntax be?
TIA,
GGleason
Application.Forms("frmTools"
But this syntax is not correct (it turns red).
What should the syntax be?
TIA,
GGleason