+ Reply to Thread
Results 1 to 5 of 5

Barcode Scanning to bring up specific userform that allows you to edit qty in the userform

  1. #1
    Registered User
    Join Date
    09-09-2019
    Location
    South Africa
    MS-Off Ver
    2013
    Posts
    2

    Barcode Scanning to bring up specific userform that allows you to edit qty in the userform

    Hi All,
    I trust you are well.

    So I have a Stock Management System which uses a barcode scanner, once barcode is scanned it looks up the value and adds it to the specific product line on the sheet, which then pulls through to the relevant stock report for each week as we do weekly stocktakes.

    Now I need a code on the sheet to call a userform if a barcode's first 2 digits equals to a specific number, On the userform it should automatically call up the barcode, product name and a space for new weight ( we are in the food industry) It then needs to place the value in the userform into the relevant corresponding space on the sheet.

    IE. Scanner app week 1 is where all the data needs to be posted. The sheet already looks up the value and automatically posts 1 next to the corresponding barcode row, however if the product barcode starts with a 26,21 etc it needs to bring up a userform that allows you to input a weight to the corresponding product row.

    I hope it makes sense

    I have attached a sample of the spreadsheet

    Thanks in advance!
    Attached Files Attached Files
    Last edited by ChefThys; 09-09-2019 at 05:18 PM. Reason: Moderation Request

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: VBA Code needed ... Urgently

    title updated, thank you...
    Last edited by protonLeah; 09-09-2019 at 09:27 PM.
    Ben Van Johnson

  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,258

    Re: Barcode Scanning to bring up specific userform that allows you to edit qty in the user

    Hello ChefThys,

    It is not possible to test the workbook properly due to a missing reference to the workbook "excel-inventory-management-template(1).xlsm", the QTY column of the INVENTORY_MASTER worksheet shows a #REF!. Please post the other workbook so we can provide you with a working solution.
    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
    09-09-2019
    Location
    South Africa
    MS-Off Ver
    2013
    Posts
    2

    Re: Barcode Scanning to bring up specific userform that allows you to edit qty in the user

    Hi Leith Ross,

    My apologies I omitted to mention that the Inventory master should not be used but the above vba action should be on the pages SCANNER APP week 1 to SCANNER APP week 5.

    The original data on INVENTORY was copied from the missing workbook reference however the data on SCANNER APP pages are the ones to work from

    I hope it makes sense.

    I will look tomorrow to post an updated version for you.


    Thanks for being willing to assist me

    Regards,
    Chef Thys

  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,258

    Re: Barcode Scanning to bring up specific userform that allows you to edit qty in the user

    Hello ChefThys,

    Thank you for taking the time updating the workbook.

+ 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 Code needed ... Urgently
    By ChefThys in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-09-2019, 01:34 PM
  2. Chart Help Needed Urgently
    By mysticmoron109 in forum Excel General
    Replies: 1
    Last Post: 03-21-2018, 05:41 PM
  3. Help Needed Urgently with a formula
    By aaka in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-28-2015, 09:15 AM
  4. Urgently needed help with backcasting
    By amread in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2013, 07:21 AM
  5. VBA code urgently needed!
    By burk in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-03-2006, 03:30 AM
  6. help needed urgently
    By richard354 in forum Excel General
    Replies: 3
    Last Post: 07-31-2006, 09:28 AM
  7. Help Needed Urgently
    By John in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-13-2005, 11:05 AM

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