What I want to do is create a public function that when you click on a textbox control (the controls are named 1 through 140 but when you create a sub procedure the controls are named Ctl1 through Ctl140) the function trims off the "Ctl" of the control just clicked and returns just the numerical part of the control (i.e., 1, 2, ..., 140). I will need number stored in a variable that will be used locally in a private sub procedure. Does anyone have any coding solutions to do this.
If I take a peek in your Windows, to fix a problem, does that make me a "Peeping Tom"? Hmmmmmmmmmmv![[pc1] [pc1] [pc1]](/data/assets/smilies/pc1.gif)
![[shocked] [shocked] [shocked]](/data/assets/smilies/shocked.gif)
If I take a peek in your Windows, to fix a problem, does that make me a "Peeping Tom"? Hmmmmmmmmmmv
![[pc1] [pc1] [pc1]](/data/assets/smilies/pc1.gif)
![[shocked] [shocked] [shocked]](/data/assets/smilies/shocked.gif)