Find The Caption of a Label Attached to a Textbox

Getting the Caption of a Textbox Label

Caption of a Label Attached to a Textbox

You might think getting the caption of Textbox Label would be just as simple as getting the caption of a Command Button. However it’s a little bit more involved. I run through the process in this short video… This is the VBA code to get the caption of the textbox….

“Me.ControlName.Controls(0).Caption”

Video 1 (4:23)

Caption of a Label Attached to a Textbox

…         ..         ..            ..        ..          ..           ..     ..  ..         … 

… …

Leave a Comment