+ Reply to Thread
Results 1 to 7 of 7

Input user form in vb

  1. #1
    Registered User
    Join Date
    02-18-2012
    Location
    Dubrovnik
    MS-Off Ver
    2010
    Posts
    20

    Input user form in vb

    Please help.
    I was trying to make input user in vb.
    Example:

    User form should ask me for item number and than for quantity for that item and than loop back for entering another item number.
    I wonder can this be made without command buttons becouse I just wanted to put close button for exit.


    A B
    ITEMNO: QUANTITY

    1 01 123

    2 02 454

    3 03 112

    4

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Input user form in vb

    What user action do you want to trigger the placement of the values onto the sheet?
    If you miskey an entry, how do you want to edit that?
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Re: Input user form in vb

    I think you are going to have to use a separate button for data entry if you need to make several entries before you close the userForm.
    Otherwise either the Control source cell value or the VBA UserForm.textBox.Value will just keep cycling with each new value you put in.
    But Hey! thats only two buttons
    John

  4. #4
    Registered User
    Join Date
    02-18-2012
    Location
    Dubrovnik
    MS-Off Ver
    2010
    Posts
    20

    Re: Input user form in vb

    It doesnt realy matters if I have aditional button to add entry but i dont want form to close i just want cursor again in itemnumber field.
    Can you tell me how to do this form?

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Input user form in vb

    Are you using a UserForm or a form created on the sheet?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    02-18-2012
    Location
    Dubrovnik
    MS-Off Ver
    2010
    Posts
    20

    Re: Input user form in vb

    Preferaby Userform

  7. #7
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Input user form in vb

    Perhaps this would work
    Please Login or Register  to view this content.

+ 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