Modifying an open Access form from a code module

From an Access VBA code module, how can I modify a control's appearance on a form, after I opened it, and then how can I close that form?
musgahAsked:
Who is Participating?
 
Rey Obrero (Capricorn1)Commented:
try this codes

to change backcolor
Forms!nameofForm!NameofControl.backcolor=vbred

to close the form

docmd.close acform, "nameofForm"
0
 
musgahAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.