activate Method on activex textbox in Group on Excel Sheet

irfankhan640

New Member
Joined
Jan 30, 2013
Messages
11
I have an Excel Sheet with 10 Textboxes and I group them Together. The Activate method work fine when I Ungroup them But When I group them the Activate method Generate an error. What I want to do is On keyPress or KeyUp or keyDown event when I enter data in Textbox1 and when I press enter key or tab key the Focus Get to Textbox2. See the Attached file.

I have tried both ActiveSheet.TextBox2.Activate and ActiveSheet.OLEObjects("TextBox2").Activate Both Generates error. When I ungroup them Then the First Statements work Fine.
Thanks in Advance
 
I have an excel Application First I put there 2 Frame Controls each Frame had 60 Textboxes I tried to Activate events on TextBoxes within the Frame But I could Not succeed. After that I think to put Textboxes on the Sheet and Group them Together So it will be easy for us to Drag TextBoxes from One Place to another on the Sheet, but I fail again by activate the TextBox in Group.
 
Upvote 0

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