Consulting

Results 1 to 5 of 5

Thread: Add 1250 textboxes in excel using vba vb6

  1. #1
    VBAX Newbie
    Joined
    Aug 2010
    Posts
    2
    Location

    Add 1250 textboxes in excel using vba vb6

    I have an application which added textboxes in excel using vb6-vba. But after adding 1208 textboxes it gives error Automation error "Element not found". Pls. help to resolve this error.

    Thanx in advance.....

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Well, there is a surprise. How can any user possibly manage 1208 textboxes.

    Sounds like you need a re-design to me.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Newbie
    Joined
    Aug 2010
    Posts
    2
    Location
    Thanx for replying.

    We r using it for time and action calender which shows tasks pending for the week. each task contain 15 fields and number of tasks can vary person to person. For eg for a low level user it is less but for a team leader is more as it contains all the tasks of his/her team.

    Thanx

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    If it were me and I needed yo capture this amount of data, I would just use cells on a worksheet.

    I wouldn't even try to use that many TBs.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    Just to add to xld's valid comment, you can have those cells with validation and show or hide rows...etc depending on user level, but to be honest i think (like xld) you need to rethink what data you want to capture, how and why........then what do you want to do with the result of the captured data.

    Pen and paper first, worksheet later!
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •