set focus on a Sub Form using VBA

Copper Contributor

Should be simple. How do I set the focus to a Sub Form in VBA?

I've followed everything I can find on-line, and with MS Support.

It was working yesterday (9-26-21), but wasn't working this morning.

A simple line of code that works would be wonderful!

1 Reply


This is almost identical to the question in this current thread at UA 

If that's not you, I suggest you read the entire thread for your answer