1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Worksheets(1).Activate
With Worksheets(1).Range("N1:P100")
Set d = .Find("eur 1", LookIn:=xlValues)
If Not d Is Nothing Then
e = d.Offset(0, 1).Select
ligne = ActiveCell.Row: colonne = ActiveCell.Column
End If
MsgBox (d)
MsgBox (e)
MsgBox (ligne)
MsgBox (colonne)
End With
Worksheets(3).Activate
With Worksheets(3).Range("N1:P100")
Set c = .Find("eur 1", LookIn:=xlValues)
If Not c Is Nothing Then
c.Offset(0, -2).FormulaLocal = "=sheet1!" & Cells(ligne, colonne).adress
End If
End With |