set focus on a Sub Form using VBA

%3CLINGO-SUB%20id%3D%22lingo-sub-2790332%22%20slang%3D%22en-US%22%3Eset%20focus%20on%20a%20Sub%20Form%20using%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2790332%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22%22%3E%3CP%3EShould%20be%20simple.%20How%20do%20I%20set%20the%20focus%20to%20a%20Sub%20Form%20in%20VBA%3F%3C%2FP%3E%3CP%3EI've%20followed%20everything%20I%20can%20find%20on-line%2C%20and%20with%20MS%20Support.%3C%2FP%3E%3CP%3EIt%20was%20working%20yesterday%20(9-26-21)%2C%20but%20wasn't%20working%20this%20morning.%3C%2FP%3E%3CP%3EA%20simple%20line%20of%20code%20that%20works%20would%20be%20wonderful!%3C%2FP%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3EReply%3C%2FDIV%3E%3C%2FDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2790332%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EApp%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

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!

Reply
 
1 Reply

@legalallplacesco 

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

https://www.utteraccess.com/topics/2061976 

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