View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bryan[_9_] Bryan[_9_] is offline
external usenet poster
 
Posts: 2
Default Macro to copy and paste

I am looking for a macro code that will search for cell
reference and copy and paste the row to a different
worksheet.

For example, if "student" is typed into cell A1 of Sheet2
I would like Excel to search Sheet1 for "student".
If "student" is found in Sheet1 I would like the entire
row that "student" is found in to be copied to row D in
Sheet2. Of course each subsequent time "student" is found
it should be copied to the next row in Sheet2 (D, E, F,
etc).

Any help would be greatly appreciated.