Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default add controls

I am creating an app that will allow me to enter an unspecified set of
data. Ideally I would like to be able to input the number of desired
sets into a text box and when i click on the command button it opens a
userform with that many sets. A set of data would consist of four
text boxes. I have been able to add controls using controls .add but
I am not sure how to tel vb to do it the specified number of times and
to space them accordingly. The other option I thought of would be to
start with maybe 5 sets and have a button that would add an additional
set as needed. This would involve adding a set of text boxes below
the ones that already exist. I have searched and searched and the
only solution i could find would be to create all the controls and
make them visible or not. This seems like a time consuming process and
would increase the size of the file. If this is the way it must be
done how can i setup 100 sets (400 textboxes total) without doing
each one individually. ANy input or suggestions are welcome. Thanks
for any help i can get.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel controls vs vba controls cmpcwil2[_6_] Excel Programming 3 April 19th 06 03:33 PM
ActiveX Controls vs Form Controls Alex Excel Discussion (Misc queries) 1 January 11th 06 08:46 AM
VB Controls Simon Shaw Excel Programming 2 November 18th 05 05:15 PM
controls.add masterphilch Excel Programming 1 April 19th 05 01:28 PM
Event procedures for controls added with Controls.Add John Austin[_4_] Excel Programming 1 March 9th 05 03:31 PM


All times are GMT +1. The time now is 06:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"