+ Reply to Thread
Results 1 to 7 of 7

VBA code help. Using command box. Search/autofill/scan

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2007
    Posts
    5

    VBA code help. Using command box. Search/autofill/scan

    Basically I am ok with excel but nothing like I am attempting to do this time.

    I have several columns but this is open for review if you think of a better way to do it

    The columns I have are as follows
    ID: Unique number associated to a certain asset but there is duplicates
    Location: If the ID is found it will automatically fill in a set value
    Desk: If the ID is found it will automatically fill in a set value
    Asset number: Using a barcode reader that automatially returns after scan (or manual entry)
    Serial number: Using a barcode reader that automatially returns after scan (or manual entry)

    I want to have a tool to take serial numbers (2 different ones) using a command button. When pressed it will populate for the ID. This will be entered manually and the Location and Desk will be filled in automatically. It will then prompt for the asset number which is scanned and entered into the relevent cell, then ask for the Serial number and again is scanned and entered into the relevent field.

    If an ID is searched and the location or serial number etc is already populated (duplicate) then it adds the details to another tab called "Duplicates in store" which has all the same columns as the first tab.. Also the main tab is called "In store"

    So I know I am asking a lot but if someone could help or wright this it would be greatly appreciated.
    Last edited by mcghue; 02-21-2013 at 06:23 AM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: need a lot of help

    Hi mcghue,

    Please change the thread title to reflect the query you are asking... see the forum rules:-

    http://www.excelforum.com/forum-rule...rum-rules.html



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    02-21-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: need a lot of help

    Sorry just noticed that thread. How can I change it. I go to edit and it only allows me to change the content not the title, or am I missing something

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: VBA code help. Using command box. Search/autofill/scan

    Hi mcghue,

    click on Edit thread and then click on Go Advanced and then you can edit the thread title there.

    Regards,
    DILIPandey
    <click on below * if this helps>

  5. #5
    Registered User
    Join Date
    02-21-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: VBA code help. Using command box. Search/autofill/scan

    managed to figure that out

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: VBA code help. Using command box. Search/autofill/scan

    Thats great....

    Please share the solution here as it may help other users... thanks.
    also, mark this thread as [SOLVED]..



    Regards,
    DILIPandey
    <click on below * if this helps>

  7. #7
    Registered User
    Join Date
    02-21-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: VBA code help. Using command box. Search/autofill/scan

    the topic is not closed? You asked me to change the title so I did but the request for help is still needed.

+ 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