+ Reply to Thread
Results 1 to 6 of 6

Rookie needing help with Vba Userform listbox vlookup

  1. #1
    Registered User
    Join Date
    07-25-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    4

    Rookie needing help with Vba Userform listbox vlookup

    I think this question has been asked a million times, so I apologize if this is the 1,000,001. I have searched and searched, and have followed soo many topics on this, with no results to get passed my error, so I am finally asking for help through the forums.

    So we are trying to do some basic tracking on what the employees are packing on a daily basis. So I thought it should be easy enough to make a userform to help with data input, and keep the data clean.

    So far I have a descent userform setup.

    - Name of person, only select able to the ones who can pack, so no wrong names can be inserted.

    - Date is auto done, but not so great it puts up the date. as long as you type something then the date appears.

    - Our sku format, we call VPS so the products are VPS and a 5 digit number VPS01010, and I named this textbox VPSNumber. This is where I am having a problem. The check to see if the VPSnumber is valid works great. But trying to figure out how to autopopulate the other labes like price and product description alarms out where I bolded the code.
    Please Login or Register  to view this content.

    Any help would be greatly appreciated.

  2. #2
    Registered User
    Join Date
    07-25-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    4

    Re: Rookie needing help with Vba Userform listbox vlookup

    A quick note, I did name the box Pricee, since I was getting an ambiguous error using Price

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Rookie needing help with Vba Userform listbox vlookup

    Hello unahorn,

    Welcome to the Forum!

    When writing VBA code, you should not mix VBA code with Application or Worksheet Functions unless you are proficient in both.

    To help you with this, you should post a copy of your workbook. Please change or remove any confidential, sensitive, or personal information before you post.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Registered User
    Join Date
    07-25-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    4

    Re: Rookie needing help with Vba Userform listbox vlookup

    Hi Leith

    Thanks for the upload instructions. I did a backup, and simplified the file.

    excel backup.xls

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Rookie needing help with Vba Userform listbox vlookup

    Hello unahorn,

    Thanks for posting the workbook. I have it open and am looking it over.

  6. #6
    Registered User
    Join Date
    07-25-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    4

    Re: Rookie needing help with Vba Userform listbox vlookup

    Hi Leith,

    Any luck on what I am doing wrong?

    Jim

+ 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. [SOLVED] if anything in listbox select first item, if listbox empty do nothing (listbox in userform
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2015, 12:49 PM
  2. [SOLVED] copy contents of userform listbox to another userform listbox
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2014, 11:39 AM
  3. [SOLVED] Vlookup in UserForm - Get Input from listbox, Lookup in specific table from specific sheet
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2013, 09:00 AM
  4. Transfer Data From One Userform Listbox to Another Userform Listbox with 11 columns
    By sparkoft in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-18-2013, 10:54 AM
  5. userform listbox
    By tsiguy96 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-14-2013, 11:09 PM
  6. Listbox to Listbox, no duplicates & submitting same UserForm data for each Listbox entry.
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2012, 12:18 PM
  7. Replies: 1
    Last Post: 05-17-2006, 04: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