Good Evening,
I am trying to create a Macro that will recognise a reference ( Number ) in a column, when it does i want it to drag information into a pre set format on another page
ie if the reference number is found i want it to pull in the information from the same line but column a, then B, etc....
Currently the VB abobve finds the refence in the sheet specified but then states the error message and stopping on the cell it finds.
All help appreciated
I am trying to create a Macro that will recognise a reference ( Number ) in a column, when it does i want it to drag information into a pre set format on another page
ie if the reference number is found i want it to pull in the information from the same line but column a, then B, etc....
Code:
Set MyFind = Columns(5).Find(what:=CellProcessNumber, searchdirection:=xlNext, lookat:=xlWhole)
If Not MyFind Is Nothing Then
ExtractRow = MyFind.Row
Else
MsgBox "Cannot find value " & CellProcessNumber
Exit Sub
End If
DValue = Cells(ExtractRow, 1)
Sheets("Amend Quality").Cells(7, 7) = DValue
Currently the VB abobve finds the refence in the sheet specified but then states the error message and stopping on the cell it finds.
All help appreciated