Array of Textbox

Rasm

Well-known Member
Joined
Feb 9, 2011
Messages
505
Parry - or anybody else
I did search - found this - Can you tell me how to insert i.e. a Listbox right onto the worksheet - using code. I would like to see it both as a Form control as well as an ActiveX control - I like the Form control as it has the OnAction property - that allow me to add the control at run time and have the event code in my module. However I like working with ActiveX better. So if the control and be ActiveX and the event flag for that control resides in a module - that would be perfect. Hope you can help
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Re: array of textbox

RASM since you said "onto the worksheet" then isn't this an Excel question and not an Access question and it should be in the Excel area instead of Access?
 
Upvote 0
Re: array of textbox

ohhh - yes - I did not realize it was Access - I did a search and this came up - you are right.
 
Upvote 0
Re: array of textbox

Rasm

I agree with Bob, this should be in the Excel forum - you can contact an admin for that.

As for your question, I don't really understand what you want to do.

You can't use an ActiveX control as a Forms control and vice versa.

Also, why do you want to add the control at runtime?
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,595
Members
452,927
Latest member
whitfieldcraig

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