CallCalled Class Module
This pair of functions derived from ones in the Class Module CallCalled.
I have converted them so that they work inside a Forms Code Module.
At the bottom you can see the code for a command button that will run the code and return the contents of the label attached to a text box. If your text box does not have a label, then it will return an empty string.
To recap:- The command button is called:- “btnTest”
The text box the code extracts the label caption from is called:- “txtTextBoxOnYourForm”