Identify textbox in Activex Frame (in another Frame)

Llupo01

Active Member
Joined
Aug 17, 2015
Messages
296
Hello guys, hope somebody can help me :-)

I am working now with ActiveX controls and stucked little bit..

on sheet1 I have ActiveX Frame, inside this Frame I have another two frames and inside those frames, I will have textboxes...Do you pls know, how can I identify those textboxes and extract or input value?

I know, that outside of frame its activesheet.oleobjects("txtUser").object.text ...but I cannot find solution, how to identify textbox inside two frames :-(

Thank you very much in advance.

Brgds,
Tom
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
So finally, I found out solution by myself :-) ...for those who are interested its for example :
Code:
Frame1.controls("Txt1").text = "Hello"

and from module:
Code:
activesheet.oleobjects("Frame1").object.controls("txt1").text= "Hello"
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top