hi,
I am looking for a code to do the following:
I need to find a cell which contains sth the user is writing,
then I need to copy every thing what is in the row of this cell and paste it in another worksheet (eg Sheet3) but in the other worksheet the columns have different meanings so I have to do it cell by cell.
Afterwards the whole row with the cell found at the beginning has to be deleted.
The first part is working:
[VBA]Sub searching()
Sheets("NewP").Select
NumPro = InputBox("Enter Project Number")
Cells.Find(What:=NumPro, After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
x = Selection.Address
End Sub
[/VBA]
Problem is, that "x" is a read-only and I cannot work with it further...
So I either would like to get the row number somehow if it is possible or solve it differently..
MANY Thanks in advance
Vadim