Spell Check Subform

I have a command button that executes a spell check when clicked.   I also need to perform a spell check on a subform.

What is the proper syntax for calling the acCmdSpelling on the subform?

'Spell check on main form (works fine)
DoCmd.RunCommand acCmdSpelling

'Spell check on sub form (does NOT work)
Forms![frmTopicsOpen]![sfrmComments].Form.RunCommand acCmdSpelling

Who is Participating?
LenaWoodConnect With a Mentor Commented:
If you are wanting to run it from your button, what if you set focus on the subform first, and then said to run the spell check.
ExpExchHelpAuthor Commented:
Works like a charm!!!

Thanks, Lena.

No problem...glad you understood what I was TRYING to say...I had enough typos to choke a horse haha.
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.