Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a macro in excel

Status
Not open for further replies.

Newatprogramming

Technical User
Mar 5, 2002
30
US
I am trying to create a macro that could from a list of numbers in a column, be able to find all matching numbers in the first column from another worksheet, extract the row into another worksheet. For example:

( WORKSHEET 1 )
( find these numbers in the first column of worksheet 2, and copy the whole row to worksheet 3.

2222
2333
2323
2313


(WORKSHEET 2)

2221 12/23
2222 12/22
2223 12/22

2322 12/22
2323 12/22
2324 12/22


(WORKSHEET 3)

2222 12/22
2323 12/22




 
Is the data all continuous down the columns? How are you looking to initiate the macro? Command Button? Worksheet Active? If you choose to battle wits with the witless be prepared to lose.
[machinegun][hammer]

[cheers]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top