+ Reply to Thread
Results 1 to 8 of 8

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 Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,935

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

    Try
    Please Login or Register  to view this content.

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

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

    Fluff13, thanks got through the Find statement, but now it errors out in the if statement when I try to update the status field.
    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,935

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

    What error do you get?

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

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

    Fluff, I figured it out. Someone deleted columns from the sheet we are updating so my offset (, 17) was trying to go into the wrong locked cell. I have to add the columns back in and change the password so no one will be able to mess with the file again. Sorry I should have checked the hidden columns and caught it.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,935

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

    Glad you figured it out & thanks for the feedback

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

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

    Thanks for the help. Another simple one that I just could not see.

  8. #8
    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. 2509 (Windows 11 Home 24H2 64-bit)
    Posts
    92,400

    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.

+ 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] VBA Find Matching Values Between Workbooks
    By smitty234 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-12-2018, 05:33 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