Macro to combine rows with common data and delete duplicates

  • Re: Macro to combine rows with common data and delete duplicates


    This should do

  • Re: Macro to combine rows with common data and delete duplicates


    Hi
    It works fine can we have macro to work on 19 digits since the results in column A shows 8.94426E+18

  • Re: Macro to combine rows with common data and delete duplicates


    Add one line

    Code
    With Sheets("sheet2").Cells(1).Resize(UBound(w, 1), UBound(w, 2))
            .CurrentRegion.ClearContents
            .Columns(1).NumberFormat = "@"  '<--- this line
            .Value = w
        End With
  • Re: Macro to combine rows with common data and delete duplicates


    Hi
    Could you please help me, the macro doesn't work if the record count exceeds 1 lakh.

  • Re: Macro to combine rows with common data and delete duplicates


    I am getting type mismatch error on below.


    w = Application.Index(.items, 0, 0)

  • Re: Macro to combine rows with common data and delete duplicates


    Try change to

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!