F
fish
Here is the code:
Dim val2 as double
dim val1 as double
Dim val as long
Dim fsheet as string
Dim fnameb as string
Do
ActiveCell.Offset(1, 0).Select
val = ActiveCell.Offset(0, -12).Value
Val1=Activecell.offset(0,11).value
With Workbooks(fnameb).Worksheets(fsheet)
Set rng = .Columns(3).Find(val)and.find(val1)
End With
If Not rng Is Nothing Then
val2 = rng.Offset(0, 11).Value+activecell.offset
(0,11).value
Dim val2 as double
dim val1 as double
Dim val as long
Dim fsheet as string
Dim fnameb as string
Do
ActiveCell.Offset(1, 0).Select
val = ActiveCell.Offset(0, -12).Value
Val1=Activecell.offset(0,11).value
With Workbooks(fnameb).Worksheets(fsheet)
Set rng = .Columns(3).Find(val)and.find(val1)
End With
If Not rng Is Nothing Then
val2 = rng.Offset(0, 11).Value+activecell.offset
(0,11).value