Guys i need help with a macro.
I have an excel table with sample info like this:
Column A is empty, B is date, etc
I need the macro to read through C column and take only the number part of the cell and paste it to A column.
So after the macro runs it should become:
Any help is appreciated.
Thanks
I have an excel table with sample info like this:
Code:
17/08/2013 D1 Sunderland Fulham
17/08/2013 D1 West Bromwich Southampton
17/08/2013 D1 West Ham Cardiff City
17/08/2013 D1 Arsenal Aston Villa
17/08/2013 D1 Norwich City Everton
17/08/2013 D1 Swansea City Man. United
17/08/2013 D1 Man. City Newcastle
17/08/2013 D1 Crystal Palace Tottenham
17/08/2013 D1 Chelsea Hull City
17/08/2013 D1 Liverpool Stoke City
24/08/2013 D2 Newcastle West Ham
24/08/2013 D2 Southampton Sunderland
24/08/2013 D2 Tottenham Swansea City
24/08/2013 D2 Man. United Chelsea
24/08/2013 D2 Stoke City Crystal Palace
24/08/2013 D2 Everton West Bromwich
I need the macro to read through C column and take only the number part of the cell and paste it to A column.
So after the macro runs it should become:
Code:
1 17/08/2013 D1 Sunderland Fulham
1 17/08/2013 D1 West Bromwich Southampton
1 17/08/2013 D1 West Ham Cardiff City
1 17/08/2013 D1 Arsenal Aston Villa
1 17/08/2013 D1 Norwich City Everton
1 17/08/2013 D1 Swansea City Man. United
1 17/08/2013 D1 Man. City Newcastle
1 17/08/2013 D1 Crystal Palace Tottenham
1 17/08/2013 D1 Chelsea Hull City
1 17/08/2013 D1 Liverpool Stoke City
2 24/08/2013 D2 Newcastle West Ham
2 24/08/2013 D2 Southampton Sunderland
2 24/08/2013 D2 Tottenham Swansea City
2 24/08/2013 D2 Man. United Chelsea
2 24/08/2013 D2 Stoke City Crystal Palace
2 24/08/2013 D2 Everton West Bromwich
Thanks