Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Userform with 1024+ textboxes

I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.

When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).

I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Userform with 1024+ textboxes

How can anyone realistically use a form that has 1024 textboxes.

I think you need to re-design your project.

--
__________________________________
HTH

Bob

"Scarlett" wrote in message
...
I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.

When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).

I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?

Thanks




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Userform with 1024+ textboxes

I've gotten into this problem with around 250 textboxes. Instead of
multipages, make separate forms. Also, if you have more than even a couple
dozen textboxes on a form, I can't imagine it being easy for a user to use.

As Bob suggests, reconsider the design.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______



"Scarlett" wrote in message
...
I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.

When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).

I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Userform with 1024+ textboxes

On Jan 6, 8:26*am, "Bob Phillips" wrote:
How can anyone realistically use a form that has 1024 textboxes.

I think you need to re-design your project.

--
__________________________________
HTH

Bob

"Scarlett" wrote in message

...

I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?


Thanks


With all due respect, some projects require a level of complexity that
you likely have not experienced.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Userform with 1024+ textboxes

On Jan 6, 11:50*am, "Jon Peltier"
wrote:
I've gotten into this problem with around 250 textboxes. Instead of
multipages, make separate forms. Also, if you have more than even a couple
dozen textboxes on a form, I can't imagine it being easy for a user to use.

As Bob suggests, reconsider the design.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.http://PeltierTech.com/WordPress/
_______

"Scarlett" wrote in message

...

I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?


Thanks


Jon,
The userform currently has several tabs with an array of textboxes
(24x7) in each one. The user will not be modifying all 168 boxes on
each tab, but will need to selectively alter a few of them. I am
willing to sacrifice allowing the user to alter any of the text boxes
in the "parent" form if I can in at least display the values as a
(24x7) array in tabular form (maybe as labels?) and then have a
separate "edit" button that will open a new userform for them to edit
them there ... upon completing that form the data would be re-
populated back to the "parent" userform.

Does that seem possible?

Scarlett



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Userform with 1024+ textboxes

With all due respect, you have no clue who you're talking to. If Bob
suggested to me that I redesign my project, I would go back to the drawing
board.

Sometimes it is necessary to redesign a project to redistribute the
complexity in such a way as to conform to the constraints of the tools used
in the project.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______



"Scarlett" wrote in message
...
On Jan 6, 8:26 am, "Bob Phillips" wrote:
How can anyone realistically use a form that has 1024 textboxes.

I think you need to re-design your project.

--
__________________________________
HTH

Bob

"Scarlett" wrote in message

...

I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?


Thanks


With all due respect, some projects require a level of complexity that
you likely have not experienced.



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Userform with 1024+ textboxes

And as a user, I wouldn't want to see that many textboxes in any project.

Scarlett wrote:
<<snipped

With all due respect, some projects require a level of complexity that
you likely have not experienced.


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Userform with 1024+ textboxes

On Jan 8, 8:26*am, "Jon Peltier"
wrote:
With all due respect, you have no clue who you're talking to. If Bob
suggested to me that I redesign my project, I would go back to the drawing
board.

Sometimes it is necessary to redesign a project to redistribute the
complexity in such a way as to conform to the constraints of the tools used
in the project.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.http://PeltierTech.com/WordPress/
_______

"Scarlett" wrote in message

...
On Jan 6, 8:26 am, "Bob Phillips" wrote:



How can anyone realistically use a form that has 1024 textboxes.


I think you need to re-design your project.


--
__________________________________
HTH


Bob


"Scarlett" wrote in message


....


I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?


Thanks


With all due respect, some projects require a level of complexity that
you likely have not experienced.


I beg to differ. I think everyone has seen a million posts of the type
"why don't you rethink what you are doing?" without any further
explanation, no suggestions, no questions as to why they are trying
such a thing, nothing... that's just isn't helpful, no matter who they
are and it's even worse if they actually know a thing or two on the
subject and haven't helped out.
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Userform with 1024+ textboxes

On Jan 8, 8:38*am, Dave Peterson wrote:
And as a user, I wouldn't want to see that many textboxes in any project.

Scarlett wrote:

<<snipped



With all due respect, some projects require a level of complexity that
you likely have not experienced.


--

Dave Peterson


Dave,
I wouldn't want a 1000 textboxes either ... unless I actually needed
to modify a few of them each time. And that's the problem, the user
needs to view all of them and only modify a select few.
Scarlett
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Userform with 1024+ textboxes

I am afraid that I have, many times. Some of my most lucrative commissions
have been in picking up the pieces from such projects when they go awol.

There is a vast difference between complexity and poor design, and I know
enough about how the brain processes information to know that it cannot
process 1024 textboxes, and therefore that is poor design and would benefit
from a re-think.



Bob

"Scarlett" wrote in message
...
On Jan 6, 8:26 am, "Bob Phillips" wrote:
How can anyone realistically use a form that has 1024 textboxes.

I think you need to re-design your project.

--
__________________________________
HTH

Bob

"Scarlett" wrote in message

...

I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?


Thanks


With all due respect, some projects require a level of complexity that
you likely have not experienced.





  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Userform with 1024+ textboxes

Believe me Scarlett, my suggestion to re-design was an attempt at helping. I
could not offer any deeper insight as I do not know the project in any
detail. But I do know that having that many controls on a form is asking for
trouble. you have experienced one physical problem, but I would venture your
users probably find it very difficult to manage this form and may well be
wasting a lot of time and effort, even making mistakes.

--
__________________________________
HTH

Bob

"Scarlett" wrote in message
...
On Jan 8, 8:26 am, "Jon Peltier"
wrote:
With all due respect, you have no clue who you're talking to. If Bob
suggested to me that I redesign my project, I would go back to the drawing
board.

Sometimes it is necessary to redesign a project to redistribute the
complexity in such a way as to conform to the constraints of the tools
used
in the project.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.http://PeltierTech.com/WordPress/
_______

"Scarlett" wrote in message

...
On Jan 6, 8:26 am, "Bob Phillips" wrote:



How can anyone realistically use a form that has 1024 textboxes.


I think you need to re-design your project.


--
__________________________________
HTH


Bob


"Scarlett" wrote in message


...


I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?


Thanks


With all due respect, some projects require a level of complexity that
you likely have not experienced.


I beg to differ. I think everyone has seen a million posts of the type
"why don't you rethink what you are doing?" without any further
explanation, no suggestions, no questions as to why they are trying
such a thing, nothing... that's just isn't helpful, no matter who they
are and it's even worse if they actually know a thing or two on the
subject and haven't helped out.


  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Userform with 1024+ textboxes

In general, I think the reliability limit is on the total number of
controls. I'm not sure 1000 labels would be an improvement on 1000
textboxes.

Your description is now detailed enough for us to imagine alternatives to
your original layout.

Could you use a single 7x24 array of textboxes, and hold in memory a series
of 7x24 arrays? When the user selects which data they want to view, you can
store the old textbox values in the appropriate array and populate the
textboxes with the new values from the selected array. The user will not
notice any difference in the time it takes to switch pages in a multipage
and the time it takes to repopulate the array of textboxes.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Scarlett" wrote in message
...
On Jan 6, 11:50 am, "Jon Peltier"
wrote:
I've gotten into this problem with around 250 textboxes. Instead of
multipages, make separate forms. Also, if you have more than even a couple
dozen textboxes on a form, I can't imagine it being easy for a user to
use.

As Bob suggests, reconsider the design.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.http://PeltierTech.com/WordPress/
_______

"Scarlett" wrote in message

...

I am reading in some data from excel into a UserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on my UserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserForm within another? Can I increase this limit?


Thanks


Jon,
The userform currently has several tabs with an array of textboxes
(24x7) in each one. The user will not be modifying all 168 boxes on
each tab, but will need to selectively alter a few of them. I am
willing to sacrifice allowing the user to alter any of the text boxes
in the "parent" form if I can in at least display the values as a
(24x7) array in tabular form (maybe as labels?) and then have a
separate "edit" button that will open a new userform for them to edit
them there ... upon completing that form the data would be re-
populated back to the "parent" userform.

Does that seem possible?

Scarlett


  #13   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Userform with 1024+ textboxes

Jon,
That seems like an interesting approach. I will investigate it
further. I will also try another method someone else suggested
elsewhere ... the edit on DblClick.
Thanks



On Jan 8, 8:30*pm, "Jon Peltier"
wrote:
In general, I think the reliability limit is on the total number of
controls. I'm not sure 1000 labels would be an improvement on 1000
textboxes.

Your description is now detailed enough for us to imagine alternatives to
your original layout.

Could you use a single 7x24 array of textboxes, and hold in memory a series
of 7x24 arrays? When the user selects which data they want to view, you can
store the old textbox values in the appropriate array and populate the
textboxes with the new values from the selected array. The user will not
notice any difference in the time it takes to switch pages in a multipage
and the time it takes to repopulate the array of textboxes.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.http://PeltierTech.com/WordPress/
_______

"Scarlett" wrote in message

...
On Jan 6, 11:50 am, "Jon Peltier"
wrote:



I've gotten into this problem with around 250 textboxes. Instead of
multipages, make separate forms. Also, if you have more than even a couple
dozen textboxes on a form, I can't imagine it being easy for a user to
use.


As Bob suggests, reconsider the design.


- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.http://PeltierTech.com/WordPress/
_______


"Scarlett" wrote in message


....


I am reading in some data from excel into aUserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on myUserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserFormwithin another? Can I increase this limit?


Thanks


Jon,
Theuserformcurrently has several tabs with an array of textboxes
(24x7) in each one. The user will not be modifying all 168 boxes on
each tab, but will need to selectively alter a few of them. I am
willing to sacrifice allowing the user to alter any of the text boxes
in the "parent" form if I can in at least display the values as a
(24x7) array in tabular form (maybe as labels?) and then have a
separate "edit" button that will open a newuserformfor them to edit
them there ... upon completing that form the data would be re-
populated back to the "parent"userform.

Does that seem possible?

Scarlett


  #14   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Userform with 1024+ textboxes

Bob,
The 168 textboxes on each tab actually represents a matrix of values
with a clear pattern and as a result, the data is quite easy to
digest.
Scarlett

On Jan 8, 4:25*pm, "Bob Phillips" wrote:
I am afraid that I have, many times. Some of my most lucrative commissions
have been in picking up the pieces from such projects when they go awol.

There is a vast difference between complexity and poor design, and I know
enough about how the brain processes information to know that it cannot
process 1024 textboxes, and therefore that is poor design and would benefit
from a re-think.

Bob

"Scarlett" wrote in message

...
On Jan 6, 8:26 am, "Bob Phillips" wrote:



How can anyone realistically use a form that has 1024 textboxes.


I think you need to re-design your project.


--
__________________________________
HTH


Bob


"Scarlett" wrote in message


....


I am reading in some data from excel into aUserForm. There is a lot
of data organized on many different MultiPages.


When I add more than ~1024 textboxes on myUserForm, I get an "Out of
memory" error when I try to edit the code. I don't think that it is
related directly to just text boxes (if I have 1020 textboxes and 10
checkboxes I get the same error).


I read somewhere that the UserFrom objects are all public? Is this the
cause of the limitation? Is there a way around this? Can I nest one
UserFormwithin another? Can I increase this limit?


Thanks


With all due respect, some projects require a level of complexity that
you likely have not experienced.


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
Userform and textboxes Paul Excel Programming 1 June 24th 08 11:21 AM
UserForm TextBoxes Rob Excel Discussion (Misc queries) 2 August 6th 05 03:07 AM
userform & textboxes beginner Excel Programming 3 July 27th 04 10:56 AM
userform textboxes again Jo[_6_] Excel Programming 4 October 21st 03 07:25 PM
userform textboxes Jo[_6_] Excel Programming 4 October 21st 03 07:15 PM


All times are GMT +1. The time now is 01:18 PM.

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

About Us

"It's about Microsoft Excel"