Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to identify what cell that does not have a product in so that
an error message can be acted upon. The following (part of) code is returning "Product not found 0" when there does not appear to be a product missing. For Each Target In rng1 sProd = Target.Parent.Cells(Target.Row, 17) res = Application.Match(sProd, _ Worksheets("CC").Range("C31:C1000"), 0) If Not IsError(res) Then With Worksheets("CC") If IsNumeric(Target.Value) Then Set rng2 = .Cells(res + 30, icol) rng2.Value = rng2.Value + Target.Value End If End With Much appreciate it if you can be of help. Pat |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to lookup product name and add qty's of all that are found | Excel Worksheet Functions | |||
Match or identify if a product is in a list | Excel Discussion (Misc queries) | |||
Identify where max values are found | Excel Discussion (Misc queries) | |||
Error 1706. No valid source could be found for the product Microso | Excel Discussion (Misc queries) | |||
Formula to identify what was NOT found | Excel Worksheet Functions |