+ Reply to Thread
Results 1 to 4 of 4

Text Box functions

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    112

    Text Box functions

    Hi Experts,

    I have set of four text boxes in an userform,along with it, I have combo box and checkboxes.
    I have customized the form such that the submit button will not execute unless until all the required fields are filled b the user.Now I have four textboxes, either in one something to be filled.
    To expalin in detail, If all the four text boxes are not filled then if I click submit button, it should come with a msg, otherwise if atleast one text box is filled out of four,then submit button should be OK

    I have tried the following code, it did'nt work for me.Please excuse if it is silly
    Please Login or Register  to view this content.
    Last edited by sivdin; 05-17-2011 at 02:50 PM.

  2. #2
    Forum Contributor FRIEL's Avatar
    Join Date
    03-07-2008
    Location
    Coventry
    MS-Off Ver
    2003 and 2007
    Posts
    266

    Re: Text Box functions

    try this

    Please Login or Register  to view this content.
    the "and" operator needs arguements for each one
    I dont like to use code i dont understand
    it makes it hard to use in other situations
    so please try to be as clear and patent as possible with me

    Criticism is welcomed

  3. #3
    Forum Contributor FRIEL's Avatar
    Join Date
    03-07-2008
    Location
    Coventry
    MS-Off Ver
    2003 and 2007
    Posts
    266

    Re: Text Box functions

    sorry also the LEN isnt neccerry
    as you are checking if thr box is empty

    so
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    04-21-2009
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    112

    Re: Text Box functions

    That's great.. Thanks very much..Its working fine

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1