+ Reply to Thread
Results 1 to 3 of 3

Macro Help

Hybrid View

  1. #1
    Registered User
    Join Date
    02-28-2013
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    1

    Macro Help

    I haven't made a macro or troubleshot one in a few years.

    I have 2 sheets with the A column on both being a product code field.

    I need a macro that will look at SHEET2 column A and when it finds a match in SHEET1 column A to copy a field from that row in SHEET1 Column Q into SHEET2 Column B

    Basically, SHEET1 is all the products a company offers. SHEET2 are the products mine offers from that larger list in SHEET1. Column Q in SHEET1 is the stock status of that item and I need to correct stocks to show in Column B of SHEET2.

    How would I do this, or is there already a macro or piece of code that I can use?

    Thanks,
    Ryan Armstrong

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Macro Help

    How about just a formula?

    http://www.contextures.com/xlFunctions02.html
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Macro Help

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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