Consulting

Results 1 to 4 of 4

Thread: Input Button

  1. #1

    Input Button

    I need a simple input button that will take data entered by the user and enter it into another sheet in the corresponding fields based on the date. For example sheet Input! would have the user input fields D10:D25 with data labels in C10:C25 and a drop down menu for the date (D4). The user would select the date, enter the data and press the input button.

    The data would then be entered into a separate worksheet that has the date in the range B5:AF5 with the fields below each date. I would like to set it up so that the input button searches for each field in the range A6:A65.

    I know how to insert the button, and open VBA in order to attach the code to the button, but I need help with the code.

    Thanks.

    -ep

  2. #2
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Why use an input sheet when excel is set up to use userforms for data entry?
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    I'm quite new to VBA and not really familiar with all the options. However, a userform does sound like a good idea. When creating a userform, is it possible to have tabs at the top to keep the data that the user has to enter categorized? For example, I have about 15 fields. 5 fields pertain to one category, 5 to another and 5 to yet another.

    Thanks for the help

    -ep

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by inked
    I'm quite new to VBA and not really familiar with all the options. However, a userform does sound like a good idea. When creating a userform, is it possible to have tabs at the top to keep the data that the user has to enter categorized? For example, I have about 15 fields. 5 fields pertain to one category, 5 to another and 5 to yet another.

    Thanks for the help

    -ep
    Multipage control.

Posting Permissions

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