Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50061

Copy row if cell contains certain numbers

$
0
0
Hi,

I have a excel file that i export from a program that gives me a long list of numbers.
What i need is a macro that copies rows with certain numbers and then paste it in another sheet starting from row 2.

It should work something like this
1. Manual export and copy/paste into the excel file on the sheet namned "Data"
2. Macro searches for the given numbers in colum "L" and copies the rows containing these numbers to a sheet namned "Sorted" starting from row 2.
A number can appear several times on different rows.
There will be alot of numbers, around 300, if this causes any problem.

Please see attached file for the excel file that I'm using.

Best regards
/Mikael
Attached Files

Viewing all articles
Browse latest Browse all 50061

Trending Articles