Closed Thread
Results 1 to 4 of 4

Help with Finding Matching Values and Updating a Different Value in 2 different workbooks

  1. #1
    Forum Contributor
    Join Date
    04-15-2012
    Location
    California, USA
    MS-Off Ver
    Microsoft 365 Subscription
    Posts
    120

    Help with Finding Matching Values and Updating a Different Value in 2 different workbooks

    I have 2 files a Purchase Request and a Master BOM file that has a Parts summary sheet (see attached). They are mostly identical but serve different purposes. I am trying to write code so that I can update the line item status in the Parts Summary Sheet from the Purchase Request. The purchase Requests get updated periodically throughout the week and the project managers have to manually update their parts summary sheets in the Master BOM file so they can track their material. I am trying to stream line the process by updating them automatically
    I am looking through the part numbers (Column F) and checking if the Line item status (Column R) is not “Released”, then searching for the part number on the Parts Summary sheet then updating the line item status.
    I thought I was doing a good job with the code until I tried testing it. I had a few variables for the ranges that I tried to set and use but they error out when used so I had to remove the variable and type out the ranges to work in. Then when that got sorted out, I got an error in the .Find section.
    Can someone help me find out what is going wrong?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Help with Finding Matching Values and Updating a Different Value in 2 different workbo

    Need to use Set statement
    Please Login or Register  to view this content.
    Need to use .Value to get cell content attributes in Find statement below.
    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,301

    Re: Help with Finding Matching Values and Updating a Different Value in 2 different workbo

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.
    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,301

    Re: Help with Finding Matching Values and Updating a Different Value in 2 different workbo

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here. I am, therefore, closing this thread, but you may continue in the original thread.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Help with Finding Matching Values and Updating a Different Value in 2 different workbooks
    By jrtraylor in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-09-2019, 04:22 PM
  2. Having problems updating a workbook based on values from many other workbooks
    By gibson2503 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-19-2013, 03:50 PM
  3. [SOLVED] Finding matching cells in 2 different workbooks and copying cell values
    By lavinius in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-01-2013, 11:59 AM
  4. [SOLVED] Finding matching values from different columns
    By hefe_espada in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-23-2013, 07:24 PM
  5. Finding the Lowest Values and Matching
    By artiststevens in forum Excel General
    Replies: 1
    Last Post: 05-04-2011, 11:45 PM
  6. Replies: 2
    Last Post: 08-06-2009, 06:04 PM
  7. Finding Matching values in cells
    By Zemmy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-26-2008, 04:09 PM

Tags for this Thread

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