+ Reply to Thread
Results 1 to 5 of 5

user form to input data according to text in textbox and listbox

  1. #1
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Sibiu
    MS-Off Ver
    Excel 2007
    Posts
    114

    user form to input data according to text in textbox and listbox

    Hey guys I am trying to build a userfrom that allows the user to input some data and that data to be placed in a specific cell.

    Please Login or Register  to view this content.

    Basically I want to enter data in a cell that meets some criteria.
    Any help is appreciated. Thank you

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: user form to input data according to text in textbox and listbox

    There are a lot of errors in your Sae_data_Click subroutine. I would suggest you post an example workbook, with your UserForm included, and a detailed instruction on what you would like to have happen.

  3. #3
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Sibiu
    MS-Off Ver
    Excel 2007
    Posts
    114

    Re: user form to input data according to text in textbox and listbox

    Ok.. what i want is to write down the name .. select month and type (both listboxes) then write quantity. For example if i write andrew as the name, select january and 2, then write 40 this quantity to be written in the cell that matches those criterias (Andrew + january + 2). I hope i can make myself understood if not i can try to be more specific.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: user form to input data according to text in textbox and listbox

    Try this:

    Note the changes I made in the User_Form Initialize. I wanted it to match the text exactly in Row 3.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-22-2013
    Location
    Sibiu
    MS-Off Ver
    Excel 2007
    Posts
    114

    Re: user form to input data according to text in textbox and listbox

    adapted to my situation. thank you so much for the help, have a great day.
    Last edited by a.hudrea; 04-10-2014 at 06:34 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. vba excel user form restrict input on user textbox
    By samz93 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2013, 04:38 PM
  2. user form listbox value = workbook sheet and data input
    By lex8058 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2012, 06:32 PM
  3. User Form frames hindering textbox text
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2009, 12:33 PM
  4. is userform textbox input by user default TEXT?
    By JohnSeito in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-01-2009, 07:46 AM
  5. User form textbox message for input error
    By microsmith in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-01-2007, 02:50 PM

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