Textboxes created at runtime - different event for specific textboxes

WednesdayC

Board Regular
Joined
Nov 7, 2010
Messages
201
Office Version
  1. 2016
Platform
  1. MacOS
Hi All

I am not sure if this is even possible, but I thought I would ask the question, in case.

I have multiple textboxes created at runtime, as the specific number is not known in advance.

After much searching, I have managed to hook up the textboxes to the change event, by the use of a class. This works fine, but the problem is I need specific textboxes (by tag value not name) to be enabled for use if a value is entered into another textbox.

So for instance if a value greater than 0 is added to tag name "Test 5 Small", then "Test 5A Small" is enabled to allow posting. There are also Medium and Large 5's to hook up. I can't see anyway to achieve this in the textbox.group change event.

Thank you in advance for any help.

Wednesday
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi All

I am not sure if this is even possible, but I thought I would ask the question, in case.

I have multiple textboxes created at runtime, as the specific number is not known in advance.

After much searching, I have managed to hook up the textboxes to the change event, by the use of a class. This works fine, but the problem is I need specific textboxes (by tag value not name) to be enabled for use if a value is entered into another textbox.

So for instance if a value greater than 0 is added to tag name "Test 5 Small", then "Test 5A Small" is enabled to allow posting. There are also Medium and Large 5's to hook up. I can't see anyway to achieve this in the textbox.group change event.

Thank you in advance for any help.

Wednesday
Hi All

I should have mentioned that I am using Excel 2011 for this and not Excel 2016
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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