+ Reply to Thread
Results 1 to 5 of 5

Custom Data Entry form to post to separate worksheets dependent on a variable

  1. #1
    Registered User
    Join Date
    10-09-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Custom Data Entry form to post to separate worksheets dependent on a variable

    I have a custom data entry form which is working fine. The form completes customer data for reviewing at a later date. I have now been asked to change it so it will seperate the data in to customer's who require some documents sent out and some that dont.

    Is it possible to have a combobox on the form and if the options on the combobox are Yes and No (original), when either option is selected the data will complete on to a seperate sheet for cases with documents required or documents not required?

    Is this possible or will it have to have two data entry forms?

    Many thanks in advance.

    I really appreciate all your help
    Last edited by JohnRooney; 11-25-2009 at 07:06 PM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Custom Data Entry form to post to seperate worksheets dependant on a variable

    One data entry form will suffice as long as the only requirement is to direct which sheets gets the data. I would use a checkbox control to direct which sheet receives the data.

    You will need to upload your workbook with the form if you need help with the code.

    Basic code example:
    Please Login or Register  to view this content.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    10-09-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Smile Re: Custom Data Entry form to post to seperate worksheets dependant on a variable

    OK, I have tried but I've got lost - Any chance you could have a look at the code for me - I've done everything I can but I'm limited.

    If you sort this I will be your friend for life

    Many thanks
    Attached Files Attached Files

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Custom Data Entry form to post to seperate worksheets dependant on a variable

    Here is a better example, briefly tested, but not fully developed for all of your controls on the form. This should get you going. Note that I am referencing sheet codenames and not worksheet names (matter of preference).

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-09-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Custom Data Entry form to post to separate worksheets dependent on a variable

    That's Just Brilliant - The really good thing about this is I'm learning stuff as well - and managing to remember it for future reference- I'm also beginning to understand how the code works. Thanks so much again

+ 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