I can do this but it would be long than it should be.
Each cell is semi-colon delimited and I could change it to a comma or anything. The problem is that the child must have all the same properties as the parent plus the values of the child and I thought a UBound would work. like this:
Code:
For x = 0 To UBound(Cells(CurRow, OptCol))
IsMatch = False
For y = 0 To UBound(Cells(TmpRow, OptCol))
If x = y Then IsMatch = True
Next y
Next x
Here is sample data:
Samples:
Parent: MOTOPATCH; CD
Child: MOTOPATCH
Desired Result for Child: MOTOPATCH; CD
Parent: ATR
Child: SSC; SA
Desired Result for Child: ATR; SSC; SA
Parent: EEPROM; MOTOPATCH; CD
Child: MOTOPATCH
Desired Result for Child: EEPROM; MOTOPATCH; CD
Thank you,
Each cell is semi-colon delimited and I could change it to a comma or anything. The problem is that the child must have all the same properties as the parent plus the values of the child and I thought a UBound would work. like this:
Code:
For x = 0 To UBound(Cells(CurRow, OptCol))
IsMatch = False
For y = 0 To UBound(Cells(TmpRow, OptCol))
If x = y Then IsMatch = True
Next y
Next x
Here is sample data:
Samples:
Parent: MOTOPATCH; CD
Child: MOTOPATCH
Desired Result for Child: MOTOPATCH; CD
Parent: ATR
Child: SSC; SA
Desired Result for Child: ATR; SSC; SA
Parent: EEPROM; MOTOPATCH; CD
Child: MOTOPATCH
Desired Result for Child: EEPROM; MOTOPATCH; CD
Thank you,