+ Reply to Thread
Results 1 to 2 of 2

Updating active/inactive part numbers tables from 2 workbooks

  1. #1
    Registered User
    Join Date
    07-08-2019
    Location
    United States
    MS-Off Ver
    2019
    Posts
    29

    Post Updating active/inactive part numbers tables from 2 workbooks

    I could use some help.

    I am working on a vba project where I have to update a table that contains part numbers. Some of these part numbers are inactive and need to be deleted/highlighted from the worksheet. I have another worksheet that contains all active part numbers and that is how I determine what needs to be deleted.

    Worksheet 'X' needing to be updated: Column D contains the part numbers (active & inactive). I want to make a button that will loop through each cell in Column D, make sure the cell part number starts with D9 then remember that content. Once that part number is found in column D I want to search worksheet 'Y' that's in another workbook. Worksheet 'Y' contains all active part numbers in Column A. I want to loop through each cell in Column A until the part number we got in worksheet 'X' column D is either matched or not found. If there is a match then I want to restart the loop and move to the next cell in Column D. If there is no match then I want to highlight the row of that part number to look at at a later time and then continue to loop through until there are no more rows to search.

    It has been a while since I have coded so any help is appreciated.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,588

    Re: Updating active/inactive part numbers tables from 2 workbooks

    Hello Byebye14 and Welcome to Excel Forum.
    If I understand correctly the highlighting could be done by using a MATCH function based formula. You could also use the MATCH function to mark rows containing inactive part numbers then make a copy of the worksheet X excluding the rows marked.
    To get more specific help please upload a desensitized sample of worksheets X and Y. To upload a sample workbook (not a picture or pasted copy) click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] IF - Active/Inactive Change
    By rnk4f in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-27-2017, 05:10 AM
  2. Jumping to a hyperlink using a string, refreshing active and updating inactive sheets.
    By Daniel Brown in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2015, 07:42 PM
  3. [SOLVED] Active/Inactive Formula
    By greenmonke in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2014, 05:28 PM
  4. [SOLVED] Mark Active-InActive
    By rizmomin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-13-2013, 07:26 AM
  5. Make buttons active or inactive
    By wessel.cronje in forum Excel General
    Replies: 2
    Last Post: 10-07-2011, 04:20 AM
  6. Make buttons active or inactive
    By wessel.cronje in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-06-2011, 11:19 AM
  7. Replies: 5
    Last Post: 03-29-2010, 06:01 AM

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