Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8587503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:35:06+00:00 2026-06-11T22:35:06+00:00

Attached below is a sheet that will show what I am talking about here.

  • 0

Attached below is a sheet that will show what I am talking about here. But this is what I am looking for. As you can see in sheet in Final shows all the list in a nice neat order.

This is what the end user sees. Now in some cases when a document like the Orig is sent to me, I need to import new lines if there are any. What I have been noticing though is that although the line are almost completely the same the client comments are different.

And with how comments are entered in red by us on the Final sheet, I just can’t copy and replace everything. What I want to do is replace only the client comments and the required ship date.

I’d like to refrence the PO, the Part, and the Description as refrence points, and then replace the client comments and the required ship date with the new one, even if there isn’t a change, I still would like to have it replaced as a just in case senario.

Can someone show me a script in VBA that will do that?

I thought about using something like this to do it:

With Intersect(wsJL.UsedRange, wsJL.Columns("Q"))
        .AutoFilter 1, "<>Same"
        With Intersect(.Offset(2).EntireRow, .Parent.Range("B:U"))
            .Copy wsJAR.Cells(Rows.Count, "B").End(xlUp).Offset(1)
            .EntireRow.Delete
        End With
        .AutoFilter
    End With

But I am running into an issue where this isn’t an EntireRow concept, but two individual cells not together, otherwise it would be a lot easier for me.

Is there a way of using this script or another one like it to get the results I am looking for?

Thanks for your help in advance if you can offer any.

Example Sheet

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:35:07+00:00Added an answer on June 11, 2026 at 10:35 pm

    Solved it.

    Did something a little different, not how I wanted, but it’s the easiest answer. Added two cells at the end of the data of the final tab:

    For O2-O4

    =IFERROR(INDEX(Orig!$J$2:$J$4,MATCH(1,INDEX((Orig!$B$2:$B$4=$A2)*(Orig!$D$2:$D$4=$B2),0),0)),"")

    For P2-P4

    =IFERROR(INDEX(Orig!$E$2:$E$4,MATCH(1,INDEX((Orig!$B$2:$B$4=$A2)*(Orig!$D$2:$D$4=$B2),0),0)),"")

    and then created a new script:

    Option Explicit
    
    Sub One()
    
        Dim wsFIN As Worksheet 'Final
        Dim wsORI As Worksheet 'Original
        Dim lastrow    
        Set wsFIN = Sheets("Final")
        Set wsORI = Sheets("Orig")
    
            lastrow = wsFIN.Range("B" & Rows.Count).End(xlUp).Row
            wsFIN.Range("O2:P" & lastrow).Copy wsFIN.Range("I2:J" & lastrow)
            wsFIN.Range("I2:J" & lastrow).Borders.Weight = xlThin
            wsFIN.Range("I2:J" & lastrow).Font.Size = 12
            wsFIN.Range("I2:J" & lastrow).Font.Name = "Calibri"
    
    End Sub
    

    It works, but I was hoping for something a little cleaner. Here is the end result.

    Solution

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following snippet in my pom.xml (Full pom attached below which can
I've attached a source file below, I'm kinda stuck. Basically, its an FLA that
Not as in can't find the answer on stackoverflow, but as in can't see
(see attached jsfiddle, screenshots; running browsers on Ubuntu 11.10) There seems to be some
I have a taxonomy attached with my content type. While creating node of that
I found this script attached to a modified index page. This looks like some
I have some plain text file (.xls extension) with next markup (attached below). It's
The javascript code is attached below. Two push pins are added to a Bing
please refer to my quick diagram attached below. what i'm trying to do is
I have a CALayer ( containerLayer ) that I'm looking to convert to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.