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

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
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,224,396
Messages
6,178,398
Members
452,844
Latest member
Shebl

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